Bläddra i källkod

delete api fule

zhangdehua 1 år sedan
förälder
incheckning
fe2a654a63
1 ändrade filer med 1 tillägg och 1 borttagningar
  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)) {