wesmiler 4 saat önce
ebeveyn
işleme
ec99aba9e6
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      app/Services/Api/CartService.php

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

@@ -221,6 +221,7 @@ class CartService extends BaseService
             $this->model->where(['id' => $cartId])->update(['num' => $num,'update_time' => time()]);
         }
 
+        $this->error = '操作成功';
         RedisService::clear($cacheKey.'_lock');
         RedisService::clear("caches:goods:cartCount:{$userId}");
         return ['id' => $cartId, 'count' => $this->getCount($userId)];