Procházet zdrojové kódy

fix(order): 移除测试账号屏蔽逻辑中的无效账号ID

- 注释掉原有的 uid 黑名单过滤条件
- 从黑名单中移除无效的账号ID 6
- 仅保留有效的测试账号ID 783进行过滤
shichen před 2 měsíci
rodič
revize
bca709e99c

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

@@ -5201,7 +5201,8 @@ class StoreOrderRepository extends BaseRepository
5201 5201
         $query_search = $this->dao->search($where)
5202 5202
             // 屏蔽测试账号
5203 5203
             // ->whereNotIn('uid', [766, 783, 6])
5204
-            ->whereNotIn('uid', [ 783, 6])
5204
+            // ->whereNotIn('uid', [ 783, 6])
5205
+            ->whereNotIn('uid', [ 783])
5205 5206
             ->when(isset($where['order_ids']) && $where['order_ids'] != '', function ($q) use ($where) {
5206 5207
             $q->whereIn('order_id', $where['order_ids']);
5207 5208
         });