This commit is contained in:
xiaoyu
2023-10-14 14:03:34 +08:00
parent 2c1bbe19dc
commit ae31e5a965
+14 -5
View File
@@ -201,11 +201,20 @@ class Order extends Admin
$used = $this->input->get('used');
!$page && $page = 1;
!$size && $size = 20;
$where = [
'status' => 1,
'activityId' => $this->a_id,
'type' => 0
];
if($iswin){
$where = [
'status' => 1,
'activityId' => $this->a_id,
];
}else{
$where = [
'status' => 1,
'activityId' => $this->a_id,
'type' => 0
];
}
$item_id && $where['itemId'] = $item_id;
if($this->group_user['bizId'] && $this->group_user['type']==1){
$where['bizId'] = $this->group_user['bizId'];