|
|
@@ -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 |
|
|
|
} |