1111
This commit is contained in:
parent
301b11fa4e
commit
8d4bb9bbf8
@ -43,7 +43,7 @@ func (r *Login) Login(c *gin.Context) {
|
||||
// 检测参数
|
||||
if req.Mobile != "" {
|
||||
// 检测验证码
|
||||
if config.C.Env != "dev" {
|
||||
if config.C.Env == "dev" {
|
||||
if req.Source == 2 {
|
||||
if req.Code == "" {
|
||||
responses.FailWithMessage("请输入手机号验证码", c)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user