lizhen_gitee hace 1 año
padre
commit
7074de41a3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/api/controller/Eggnew.php

+ 1 - 1
application/api/controller/Eggnew.php

@@ -114,7 +114,7 @@ class Eggnew extends Api
 
 
                 // 更新奖池
-                $res2 = \app\common\model\EggJackpot::update(["status"=>0],["id"=>$jackpot_id]);
+                $res2 = \app\common\model\EggJackpot::update(["status"=>-1],["id"=>$jackpot_id]);
                 $res3 = \app\common\model\EggJackpot::update(["status"=>1],["id"=>$next_jackpot_id]);
 
                 // 下个奖池所有礼物改为未使用