|
@@ -55,6 +55,16 @@ func SmsSend(c *gin.Context) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
if req.Type == "h5Register" { |
|
|
|
|
|
user, _ := userDb.UserGetOneByParams(map[string]interface{}{ |
|
|
|
|
|
"key": "phone", |
|
|
|
|
|
"value": req.Mobile, |
|
|
|
|
|
}) |
|
|
|
|
|
if user != nil { |
|
|
|
|
|
e.OutErr(c, 400, e.NewErr(400, "您已注册过,请前往下载APP")) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
param := map[string]string{ |
|
|
param := map[string]string{ |
|
|
"lot_number": req.LotNumber, |
|
|
"lot_number": req.LotNumber, |
|
|
"gen_time": req.GenTime, |
|
|
"gen_time": req.GenTime, |
|
|