瀏覽代碼

delete api fule

zhangdehua 1 年之前
父節點
當前提交
fe2a654a63
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/index/controller/Cart.php

+ 1 - 1
app/index/controller/Cart.php

@@ -95,7 +95,7 @@ class Cart extends Controller
      * @throws \think\db\exception\DbException
      * @throws \think\db\exception\ModelNotFoundException
      */
-    public function add(int $goodsId, string $goodsSkuId, int $goodsNum): Json
+    public function add(int $goodsId, string $goodsSkuId, int $goodsNum)
     {
         $userId = Session::get('user_id');
         if (empty($userId)) {