Kirin 2 years ago
parent
commit
967ec85358
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/user/UserController.php

+ 1 - 1
app/api/controller/user/UserController.php

@@ -800,7 +800,7 @@ class UserController
         $user = User::get($uid);
         if ($user['user_store_id'] > 0) return app('json')->fail('已开通商家身份');
         if (!StoreOrder::where('uid', $uid)->where('refund_status', 0)
-            ->where('is_del', 0)->where('is_system_del')
+            ->where('is_del', 0)->where('is_system_del', 0)
             ->where('paid', 1)->where('store_bag', 1)->where('status', '>=', 0)->find()) {
             return app('json')->fail('未购买商家礼包');
         }