|
|
@ -495,6 +495,14 @@ class MarketPercentageController extends ThinkController
|
|
|
|
$_REQUEST['group_id']?($map['group_id'] = $_REQUEST['group_id']):'';
|
|
|
|
$_REQUEST['group_id']?($map['group_id'] = $_REQUEST['group_id']):'';
|
|
|
|
($_REQUEST['status']||$_REQUEST['status']=='0')?($map['status'] = $_REQUEST['status']):'';
|
|
|
|
($_REQUEST['status']||$_REQUEST['status']=='0')?($map['status'] = $_REQUEST['status']):'';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($_REQUEST['status']||$_REQUEST['status']=='0') {
|
|
|
|
|
|
|
|
if( $_REQUEST['status'] == '1') {
|
|
|
|
|
|
|
|
$map['status'] = ['egt',1];
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$map['status'] = $_REQUEST['status'];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$admin_id = $_SESSION['onethink_admin']['user_auth']['uid'];
|
|
|
|
$admin_id = $_SESSION['onethink_admin']['user_auth']['uid'];
|
|
|
|
$map['admin_id'] = $admin_id;
|
|
|
|
$map['admin_id'] = $admin_id;
|
|
|
|
if(is_administrator()||session('user_group_id') == 15||session('user_group_id') == 14) {
|
|
|
|
if(is_administrator()||session('user_group_id') == 15||session('user_group_id') == 14) {
|
|
|
|