bobing_912
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user