广告平台(媒体使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 месеца
12345678910111213141516171819
  1. package svc
  2. import (
  3. "applet/app/db/implement"
  4. "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/sms"
  5. "github.com/gin-gonic/gin"
  6. )
  7. func SmsCheck(c *gin.Context, phone, captcha string) (bool, error) {
  8. send := map[string]interface{}{
  9. "phone": phone,
  10. "zone": "86",
  11. "code": captcha,
  12. }
  13. NewSysCfgDb := implement.NewSysCfgDb(MasterDb(c), c.GetString("mid"))
  14. key := NewSysCfgDb.SysCfgGetWithDb("mob_app_key")
  15. send["appkey"] = key
  16. return sms.SMSMobCheck(send)
  17. }