lizhen_gitee 1 vuosi sitten
vanhempi
commit
7074de41a3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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]);
 
                 // 下个奖池所有礼物改为未使用