wesmiler 8 시간 전
부모
커밋
ec99aba9e6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)];