xy 3 dias atrás
pai
commit
c2c515c3fe
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0 3
      src/server/webserver/main.go

+ 0 - 3
src/server/webserver/main.go

@@ -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 {