推广
This commit is contained in:
@@ -14,13 +14,14 @@ class Order extends Controller
|
||||
{
|
||||
$get_data = $_GET;
|
||||
$agent_id = $this->userinfo['OperaterID'];
|
||||
$agent_phone = $this->userinfo['phone'];
|
||||
$page = 0;
|
||||
if (isset($_GET['PageIndex'])) {
|
||||
$page = ($_GET['PageIndex'] - 1) * 50;
|
||||
}
|
||||
$where = [];
|
||||
$where_str = '';
|
||||
$where['agent_id'] = $agent_id;
|
||||
$where['UserName'] = $agent_phone;
|
||||
|
||||
if(!empty($get_data['ProductIds'])){
|
||||
$where['ProductId'] = $get_data['ProductIds'];
|
||||
|
||||
Reference in New Issue
Block a user