Browse Source

最近访问

shish 5 years ago
parent
commit
6f374acc87
1 changed files with 2 additions and 3 deletions
  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
     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