|
|
@ -833,6 +833,16 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
$map = [];
|
|
|
|
$map = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$admin_data = M("member")
|
|
|
|
|
|
|
|
->field("access.uid admin_id")
|
|
|
|
|
|
|
|
->join("left join sys_auth_group_access access on sys_member.uid = access.uid")
|
|
|
|
|
|
|
|
->join("left join sys_auth_group auth on access.group_id=auth.id")
|
|
|
|
|
|
|
|
->where(['group_id'=>['in','11,12,21']])
|
|
|
|
|
|
|
|
->select();
|
|
|
|
|
|
|
|
if ($admin_data) {
|
|
|
|
|
|
|
|
$map['admin_id'] = ['in',array_column($admin_data,'admin_id')];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$_REQUEST['pay_time']?$map['pay_time'] = $_REQUEST['pay_time']:'';
|
|
|
|
$_REQUEST['pay_time']?$map['pay_time'] = $_REQUEST['pay_time']:'';
|
|
|
|
$_REQUEST['real_name']?$map['real_name'] = $_REQUEST['real_name']:'';
|
|
|
|
$_REQUEST['real_name']?$map['real_name'] = $_REQUEST['real_name']:'';
|
|
|
|
$_REQUEST['nickname']?$map['nickname'] = $_REQUEST['nickname']:'';
|
|
|
|
$_REQUEST['nickname']?$map['nickname'] = $_REQUEST['nickname']:'';
|
|
|
|