Browse Source

审核操作

lyh 2 năm trước cách đây
mục cha
commit
3bcfea6dbd
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Services/Api/GoodsService.php

+ 1 - 0
app/Services/Api/GoodsService.php

@@ -535,6 +535,7 @@ class GoodsService extends BaseService
             ->where(['a.status' => 1, 'a.mark' => 1, 'b.status' => 1, 'b.mark' => 1])
             ->where('a.num', '>', 0)
             ->where('b.cost_price', '>', 0)
+            ->where('a.user_id',$userId)
             ->count('a.id');
         if ($data) {
             RedisService::set($cacheKey, $data, rand(300, 600));