This commit is contained in:
“wanyongkang”
2022-05-01 13:18:55 +08:00
parent e3ab3bc325
commit 5df6092f05
2 changed files with 2 additions and 4 deletions

View File

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