Explorar o código

fix(store-order): 移除测试账户屏蔽并调整用户ID列表

- 注释掉原有的测试账户屏蔽逻辑
- 更新whereNotIn条件中的用户ID数组
- 从用户ID列表中移除ID为766的测试账户
- 保留ID为783和6的账户在屏蔽列表中
shichen hai 4 meses
pai
achega
316ab125e0

+ 2 - 1
app/common/repositories/store/order/StoreOrderRepository.php

@@ -5166,7 +5166,8 @@ class StoreOrderRepository extends BaseRepository
5166 5166
         unset($where['status']);
5167 5167
         $query_search = $this->dao->search($where)
5168 5168
             // 屏蔽测试账号
5169
-            ->whereNotIn('uid', [766, 783, 6])
5169
+            // ->whereNotIn('uid', [766, 783, 6])
5170
+            ->whereNotIn('uid', [ 783, 6])
5170 5171
             ->when(isset($where['order_ids']) && $where['order_ids'] != '', function ($q) use ($where) {
5171 5172
             $q->whereIn('order_id', $where['order_ids']);
5172 5173
         });