Kirin 3 vuotta sitten
vanhempi
commit
73a1fec7c8
1 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. 10 0
      app/admin/controller/store/Placeorder.php

+ 10 - 0
app/admin/controller/store/Placeorder.php

@@ -33,6 +33,16 @@ use app\admin\model\store\StoreProductAttrValue;
 class Placeorder extends AuthController
 {
 
+    /**
+     * 购物车 列表
+     * @param Request $request
+     * @return mixed
+     */
+    public function lst(Request $request)
+    {
+        return app('json')->successful(StoreCart::getUserProductCartList($this->request->get('uid')));
+    }
+
     /**
      * 下单
      * @return string