This commit is contained in:
“wanyongkang”
2022-04-30 17:30:22 +08:00
parent 26f1454648
commit ac4efa66bd
4 changed files with 184 additions and 12 deletions

View File

@@ -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'];