Browse Source

test

master
huangjiajun 2 days ago
parent
commit
5beceee06b
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      app/hdl/hdl_demo.go

+ 8
- 3
app/hdl/hdl_demo.go View File

@@ -49,9 +49,14 @@ func Demo(c *gin.Context) {
return
}
func Demo1(c *gin.Context) {
state, _, _, err := svc.GetCertifyQuery(c, "17")
fmt.Println(state)
fmt.Println(err)
//es.DeleteIndex(md2.EggUserShortLink)
//es.CreateIndexIfNotExists(md2.EggUserShortLink, md2.EggUserShortLinkMap)
data := make(map[string]string)
if cfg.Prd {
data["aliyun_sms_id"] = os.Getenv("aliyun_sms_id")
data["aliyun_sms_secret"] = os.Getenv("aliyun_sms_secret")
}
e.OutSuc(c, data, nil)
}

func TestCreateSign(c *gin.Context) {


Loading…
Cancel
Save