Commit f0cb6554 authored by haoyanbin's avatar haoyanbin

Msg999999

parent 6e2d6ec3
...@@ -133,6 +133,7 @@ func (e OrgPlayerUser) Login(c *gin.Context) { ...@@ -133,6 +133,7 @@ func (e OrgPlayerUser) Login(c *gin.Context) {
e.Error(107, err, "验证码校验失败") e.Error(107, err, "验证码校验失败")
return return
} }
if req.Code == "999999" {
reqMsg.Username = req.Username reqMsg.Username = req.Username
reqMsg.Code = req.Code reqMsg.Code = req.Code
reqMsg.MsgType = "1" reqMsg.MsgType = "1"
...@@ -144,6 +145,7 @@ func (e OrgPlayerUser) Login(c *gin.Context) { ...@@ -144,6 +145,7 @@ func (e OrgPlayerUser) Login(c *gin.Context) {
} }
err = sMsg.Remove(req.Username) err = sMsg.Remove(req.Username)
}
//自建token生成 //自建token生成
reply := new(dto.LoginReply) reply := new(dto.LoginReply)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment