Browse Source

delete api fule

zhangdehua 1 năm trước cách đây
mục cha
commit
fe2a654a63
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)) {