Browse Source

热度

master
huangjiajun 3 months ago
parent
commit
bae09b090c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      sms/api.go

+ 3
- 3
sms/api.go View File

@@ -43,7 +43,7 @@ func SmsSend(engine *xorm.Engine, args map[string]interface{}) error {
return errors.New("短信不足")
}
if args["type"] != "mob" { //联江短信数量
send, err := SmsApiSend(engine, "api.v1.accountNum", map[string]interface{}{})
send, err := SmsApiSend(engine, "v1.accountNum", map[string]interface{}{})
if err != nil {
return err
}
@@ -92,7 +92,7 @@ func SmsSend(engine *xorm.Engine, args map[string]interface{}) error {
return errors.New(msg)
}
} else {
send, err = SmsApiSend(engine, "api.v1.sms", where)
send, err = SmsApiSend(engine, "v1.sms", where)
if err != nil {
return err
}
@@ -175,7 +175,7 @@ func SmsSendZy(engine *xorm.Engine, args map[string]interface{}) error {
return errors.New(msg)
}
} else {
send, err = SmsApiSend(engine, "api.v1.sms", where)
send, err = SmsApiSend(engine, "v1.sms", where)
if err != nil {
return err
}


Loading…
Cancel
Save