wesmiler 3 miesięcy temu
rodzic
commit
38993f014c
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/Services/Api/CartService.php

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

@@ -240,6 +240,7 @@ class CartService extends BaseService
             $this->model->where(['user_id'=>$userId,'mark'=>1])->update(['mark' => 0,'update_time' => time()]);
         }
 
+        $this->error = '删除成功';
         RedisService::clear("caches:goods:cartCount:{$userId}");
         return ['ids' => $ids, 'count' => $this->getCount($userId)];
     }