推广
This commit is contained in:
@@ -20,8 +20,7 @@ class Account extends Controller
|
||||
$page = ($_GET['PageIndex'] - 1) * 50;
|
||||
}
|
||||
$where = [];
|
||||
$where_str = ' agent_id='.$agent_id.' ';
|
||||
$where['UserCode'] = $agent_phone;
|
||||
$where_str = ' (UserCode='.$agent_phone.' OR agent_id='.$agent_id.') ';
|
||||
|
||||
//处理筛选
|
||||
if($get_data['UserId'] != 0){
|
||||
|
||||
@@ -21,8 +21,7 @@ class Order extends Controller
|
||||
}
|
||||
$where = [];
|
||||
$where_str = '';
|
||||
$where['UserName'] = $agent_phone;
|
||||
$where_str = ' agent_id='.$agent_id.' ';
|
||||
$where_str = ' (UserName='.$agent_phone.' OR agent_id='.$agent_id.') ';
|
||||
|
||||
if(!empty($get_data['ProductIds'])){
|
||||
$where['ProductId'] = $get_data['ProductIds'];
|
||||
|
||||
Reference in New Issue
Block a user