diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index a07e5d5..f2415bc 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -955,7 +955,7 @@ func HandlerGeneratebox(w http.ResponseWriter, data string, uuid int) { resp.Message = "get userinfo failed" break } - if uinfo.PosInfo[BOXGIFTPOS].Cat != 0 { + if uinfo.PosInfo[BOXGIFTPOS].Cat >= BOXGIFTEXTRA { //位置被占用无法生成 logger.Error("HandlerGeneratebox not empty failed=%v", err) resp.Code = 98 -- libgit2 0.21.0