bobing_912

This commit is contained in:
dengbw
2021-09-12 15:28:58 +08:00
committed by xiaoyu
parent 5bca40d28e
commit 6f6327382a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ class Bobing extends HD_Controller
return;
}
$uid = 1;
$credits = array(1 => 30, 2 => 50, 3 => 60, 4 => 70, 5 => 80, 6 => 90, 7 => 70, 8 => 80);
$credits = array(1 => 30, 2 => 50, 3 => 60, 4 => 70, 5 => 50, 6 => 30, 7 => 60, 8 => 30);
$credit = $credits[rand(1, 8)];
$where = array('uid' => $uid, 'app_id' => $this->appConfig['app_id'], 'act_key' => $this->appConfig['act_key']);
$ret = $this->mdBobingUser->update(array("credit = credit+{$credit}" => null), $where);
+1 -1
View File
@@ -27,7 +27,7 @@ class Plan extends CI_Controller
//执行失败的plan重跑
$plan[] = array('url' => base_url(array('plan', 'plan', 'replan')), 'interval' => 1);
$plan[] = array('url' => base_url(array('plan', 'bobing', 'lottery')), 'interval' => 30);//博饼每日中奖
$plan[] = array('url' => base_url(array('plan', 'bobing', 'mj')), 'interval' => 30);//马甲跑分数
//$plan[] = array('url' => base_url(array('plan', 'bobing', 'mj')), 'interval' => 30);//马甲跑分数
$this->plan = $plan;
}