yuhongqi пре 2 недеља
родитељ
комит
294f215786
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fs-user-app/src/main/java/com/fs/app/controller/LiveGiftController.java

+ 1 - 1
fs-user-app/src/main/java/com/fs/app/controller/LiveGiftController.java

@@ -82,7 +82,7 @@ public class LiveGiftController extends AppBaseController {
             if (gift == null) {
             if (gift == null) {
                 return R.error("礼物不存在");
                 return R.error("礼物不存在");
             }
             }
-            if (!"1".equals(gift.getStatus())) {
+            if (!"0".equals(gift.getStatus())) {
                 return R.error("礼物已停用");
                 return R.error("礼物已停用");
             }
             }