瀏覽代碼

最近访问

shish 5 年之前
父節點
當前提交
6f374acc87
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      app-mall/controllers/UserController.php

+ 2 - 3
app-mall/controllers/UserController.php

@@ -21,9 +21,8 @@ class UserController extends BaseController
     //最近店铺 ssh 2021.2.27
     //最近店铺 ssh 2021.2.27
     public function actionRecentShop()
     public function actionRecentShop()
     {
     {
-        $respond = UserClass::getRecentShop($this->user);
-        $respond['showIndex'] = 1;
-        util::success($respond);
+        $list = UserClass::getRecentShop($this->user);
+        util::success(['list' => $list, 'showIndex' => 1]);
     }
     }
 
 
     //获取登陆客户的资产 ssh 2019.11.22
     //获取登陆客户的资产 ssh 2019.11.22