Kirin 3 年 前
コミット
1b3bbd55c0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/api/controller/store/StoreCartController.php

+ 1 - 1
app/api/controller/store/StoreCartController.php

@@ -22,7 +22,7 @@ class StoreCartController
      */
     public function lst(Request $request)
     {
-        return app('json')->successful(StoreCart::getUserProductCartList($request->uid(), '', 0, $request->store_id()));
+        return app('json')->successful(StoreCart::getUserProductCartList($request->uid(), '', 0, $request->store_id()) ?: StoreCart::getErrorInfo());
     }
 
     /**