Commit 40b73ef0d1dd520cec7d22b0c03814083d01aad9
1 parent
c84f5db2
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
| ... | ... | @@ -955,7 +955,7 @@ func HandlerGeneratebox(w http.ResponseWriter, data string, uuid int) { |
| 955 | 955 | resp.Message = "get userinfo failed" |
| 956 | 956 | break |
| 957 | 957 | } |
| 958 | - if uinfo.PosInfo[BOXGIFTPOS].Cat != 0 { | |
| 958 | + if uinfo.PosInfo[BOXGIFTPOS].Cat >= BOXGIFTEXTRA { | |
| 959 | 959 | //位置被占用无法生成 |
| 960 | 960 | logger.Error("HandlerGeneratebox not empty failed=%v", err) |
| 961 | 961 | resp.Code = 98 | ... | ... |