|
@@ -98,9 +98,6 @@ func ReqRegister(c *gin.Context) {
|
|
|
|
|
|
func ReqLogin(c *gin.Context) {
|
|
|
req := c.MustGet("protobuf_data").(*msg.ReqLogin)
|
|
|
- // 返回 protobuf 响应
|
|
|
- c.ProtoBuf(http.StatusOK, req)
|
|
|
-
|
|
|
UserId, err := redismgr.GetUserIDFromRedisByAP(req.Account, req.Password)
|
|
|
if err != nil {
|
|
|
|