From 25c5190d699987d4bf30178a854b956e27c662e0 Mon Sep 17 00:00:00 2001 From: guzeng Date: Sun, 24 Oct 2021 22:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wo.client.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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("参数错误")