Commit 83103b44b6b34012cb2b7f8a4068f202fdbc11b9
1 parent
e82c9d86
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
... | ... | @@ -761,7 +761,7 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { |
761 | 761 | Token = r.Header.Get("token") |
762 | 762 | } |
763 | 763 | |
764 | - if Uuid == 0 { | |
764 | + /*if Uuid == 0 { | |
765 | 765 | SetHeader(w) |
766 | 766 | /*var resp UserLoginResp |
767 | 767 | resp.Code = -1 |
... | ... | @@ -770,7 +770,7 @@ func UserLogin(w http.ResponseWriter, r *http.Request) { |
770 | 770 | fmt.Fprint(w, string(respstr)) |
771 | 771 | logger.Error("UserLogin uuid=0! failed!")*/ |
772 | 772 | return |
773 | - } | |
773 | + //} | |
774 | 774 | result, _ := ioutil.ReadAll(r.Body) |
775 | 775 | r.Body.Close() |
776 | 776 | ... | ... |