huangjiajun 2 weeks ago
parent
commit
ba0a7e9b2c
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      voice/api.go

+ 13
- 0
voice/api.go View File

@@ -0,0 +1,13 @@
package voice

import zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils"

func Send(no string, data map[string]string) (string, error) {
strings := zhios_third_party_utils.SerializeStr(data)
maps := map[string]string{
"sbx_id": no, //机器编号
"agent_id": strings,
}
post, err := zhios_third_party_utils.CurlPost("http://cs.mqlinks.com/txmsgpush/", zhios_third_party_utils.SerializeStr(maps), nil)
return string(post), err
}

Loading…
Cancel
Save