爆币
This commit is contained in:
@@ -66,10 +66,11 @@ class Lottery extends adminApi
|
||||
'create_time' => time(),
|
||||
'status' => 0 // 未发放
|
||||
]);
|
||||
//清除缓存
|
||||
$this->redis->del('lottery:small_pool:round');
|
||||
$this->redis->del('lottery:small_pool:total_times');
|
||||
$this->redis->del('lottery:small_pool:total_gold');
|
||||
//修改开启下一轮
|
||||
$dd =$this->redis->get('lottery:small_pool:round');
|
||||
$this->redis->set('lottery:small_pool:round', $dd+1);
|
||||
$this->redis->set('lottery:small_pool:total_times',0);
|
||||
$this->redis->set('lottery:small_pool:total_gold',0);
|
||||
|
||||
return V(1,"成功");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user