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)) {