第三方api接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

api.go 482 B

2 weeks ago
12345678910111213
  1. package voice
  2. import zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils"
  3. func Send(no string, data map[string]string) (string, error) {
  4. strings := zhios_third_party_utils.SerializeStr(data)
  5. maps := map[string]string{
  6. "sbx_id": no, //机器编号
  7. "agent_id": strings,
  8. }
  9. post, err := zhios_third_party_utils.CurlPost("http://cs.mqlinks.com/txmsgpush/", zhios_third_party_utils.SerializeStr(maps), nil)
  10. return string(post), err
  11. }