diff --git a/wo.client.go b/wo.client.go index 28785ef..436dab3 100644 --- a/wo.client.go +++ b/wo.client.go @@ -6,7 +6,16 @@ import ( "log" ) -func SendWoSms(cpcode, key string, msg, mobiles string, excode, templetId string, url ...string) (map[string]interface{}, error) { +/** + * 发送联通融合通信短信 + * @cpcode 商户编号 + * @key accessKey + * @excode 扩展码 + * @mobiles 手机号,多个用逗号隔开 + * @templetId 模板id + * @msg 模板中变量的值,如果包含多个参数,以半角英文逗号分隔 + */ +func SendWoSms(cpcode, key string, excode, mobiles string, templetId, msg string, url ...string) (map[string]interface{}, error) { if cpcode == "" || key == "" { return nil, errors.New("参数错误")