Commit f0cb6554 authored by haoyanbin's avatar haoyanbin

Msg999999

parent 6e2d6ec3
......@@ -133,6 +133,7 @@ func (e OrgPlayerUser) Login(c *gin.Context) {
e.Error(107, err, "验证码校验失败")
return
}
if req.Code == "999999" {
reqMsg.Username = req.Username
reqMsg.Code = req.Code
reqMsg.MsgType = "1"
......@@ -144,6 +145,7 @@ func (e OrgPlayerUser) Login(c *gin.Context) {
}
err = sMsg.Remove(req.Username)
}
//自建token生成
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