Commit b5304fef90bcdcfb96d14b7867902787a7c8b748

Authored by 陆恒
1 parent e19dda1a
Exists in master

提交

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -891,8 +891,8 @@ func HandleJoinTeam(w http.ResponseWriter, data string) { @@ -891,8 +891,8 @@ func HandleJoinTeam(w http.ResponseWriter, data string) {
891 resp.Result.Code = ERROR_OK 891 resp.Result.Code = ERROR_OK
892 var rdata JoinTeamReq 892 var rdata JoinTeamReq
893 err := json.Unmarshal([]byte(data), &rdata) 893 err := json.Unmarshal([]byte(data), &rdata)
894 - for {  
895 - if err != nil { 894 + for {
  895 + if err != nil {
896 logger.Error("HandleJoinTeam json unmarshal failed=%v", err) 896 logger.Error("HandleJoinTeam json unmarshal failed=%v", err)
897 resp.Result.Code = ERROR_JSONUNMASHFAILED 897 resp.Result.Code = ERROR_JSONUNMASHFAILED
898 break 898 break