Browse Source

短信api

master
huangjiajun 1 year ago
parent
commit
81d78b5142
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sms/api.go

+ 1
- 1
sms/api.go View File

@@ -47,7 +47,7 @@ func SmsSend(engine *xorm.Engine, args map[string]interface{}) error {
if err != nil {
return err
}
platformCount := gjson.Get(send, "data.smsNum").Int()
platformCount := gjson.Get(send, "smsNum").Int()
if int(platformCount) < count*int(contentLen) {
return errors.New("平台短信不足")
}


Loading…
Cancel
Save