...
|
...
|
@@ -67,6 +67,9 @@ func Login(header *protocol.RequestHeader, request *protocol.LoginRequest) (rsp |
|
|
return
|
|
|
}
|
|
|
break
|
|
|
default:
|
|
|
err = protocol.NewCustomMessage(1, "登录方式不支持!")
|
|
|
break
|
|
|
}
|
|
|
rsp.AuthCode, _ = utils.GenerateToken(partnerInfo.Id, protocol.AuthCodeExpire*time.Second)
|
|
|
return
|
...
|
...
|
|