|
|
@@ -71,6 +71,10 @@ func Sms(c *gin.Context) { |
|
|
|
"zone": "86", |
|
|
|
"phone": args.Phone, |
|
|
|
} |
|
|
|
templateCode := NewSysCfgDb.SysCfgGetWithDb("templateCode") |
|
|
|
if templateCode != "" { |
|
|
|
where["templateCode"] = templateCode |
|
|
|
} |
|
|
|
send, err := sms.SmsMobApiSend(where) |
|
|
|
if err != nil { |
|
|
|
e.OutErr(c, 400, err.Error()) |
|
|
|