Browse Source

delete api fule

zhangdehua 1 year ago
parent
commit
fe2a654a63
1 changed files with 1 additions and 1 deletions
  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)) {