Commit 084662f0f76fe651e94c995740ede1094c007373
1 parent
7b9e4b76
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
@@ -684,6 +684,7 @@ func DoBuyCat(w http.ResponseWriter, r *http.Request) { | @@ -684,6 +684,7 @@ func DoBuyCat(w http.ResponseWriter, r *http.Request) { | ||
684 | Uuid, _ = strconv.Atoi(r.Header.Get("uid")) | 684 | Uuid, _ = strconv.Atoi(r.Header.Get("uid")) |
685 | } | 685 | } |
686 | if Uuid == 0 { | 686 | if Uuid == 0 { |
687 | + logger.Error("DoBuyCat uuid is nil") | ||
687 | SetHeader(w) | 688 | SetHeader(w) |
688 | return | 689 | return |
689 | } | 690 | } |