|
|
|
@ -20,6 +20,13 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
$_REQUEST['relation_game_id']?($map['relation_game_id'] = $_REQUEST['relation_game_id']):'';
|
|
|
|
|
$_REQUEST['sdk_version']?($map['sdk_version'] = $_REQUEST['sdk_version']):'';
|
|
|
|
|
|
|
|
|
|
$admin_id = $_SESSION['onethink_admin']['user_auth']['uid'];
|
|
|
|
|
$map['admin_id'] = $admin_id;
|
|
|
|
|
if(is_administrator()||session('user_group_id') == 15||session('user_group_id') == 14) {
|
|
|
|
|
unset($map['admin_id']);
|
|
|
|
|
$_REQUEST['admin_id']?($map['admin_id'] = $_REQUEST['admin_id']):'';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$search_date = [];
|
|
|
|
|
if (isset($_REQUEST['time_start']) && isset($_REQUEST['time_end'])) {
|
|
|
|
|
|
|
|
|
@ -179,6 +186,13 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
$_REQUEST['admin_id']?($map['admin_id'] = $_REQUEST['admin_id']):'';
|
|
|
|
|
$_REQUEST['group_id']?($map['level'] = $_REQUEST['group_id']):'';
|
|
|
|
|
|
|
|
|
|
$admin_id = $_SESSION['onethink_admin']['user_auth']['uid'];
|
|
|
|
|
$map['admin_id'] = $admin_id;
|
|
|
|
|
if(is_administrator()||session('user_group_id') == 15||session('user_group_id') == 14) {
|
|
|
|
|
unset($map['admin_id']);
|
|
|
|
|
$_REQUEST['admin_id']?($map['admin_id'] = $_REQUEST['admin_id']):'';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$search_date = [];
|
|
|
|
|
if (isset($_REQUEST['time_start']) && isset($_REQUEST['time_end'])) {
|
|
|
|
@ -754,7 +768,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
|
|
|
|
|
exec("source /etc/profile;cd ".ROOTTT.";php admin.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &");
|
|
|
|
|
|
|
|
|
|
$this->success('操作成功,后台正在计算中,请稍后再打开......');
|
|
|
|
|
$this->ajaxReturn(['status'=>1]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function showBonusList($row = 10, $p = 1) {
|
|
|
|
|