短信/钉钉 hash手机号与钉钉token防止出现重复通知情况

This commit is contained in:
linxiaozhi
2019-02-15 18:29:17 +08:00
parent 8c552ff3eb
commit 374b305d96
3 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ type AjaxReturn struct {
}
type Sms struct {
Mobiles []string
Mobiles map[string]string
Param map[string]string
}
@@ -53,7 +53,7 @@ func init() {
}
func SendSmsToChan(mobiles []string, param map[string]string) bool {
func SendSmsToChan(mobiles map[string]string, param map[string]string) bool {
sms := &Sms{
Mobiles: mobiles,
Param: param,