mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 03:48:47 +08:00
api首页新增文章
This commit is contained in:
parent
92b7d27d59
commit
63886dcc43
@ -17,6 +17,7 @@ use app\service\BannerService;
|
||||
use app\service\AppHomeNavService;
|
||||
use app\service\BuyService;
|
||||
use app\service\LayoutService;
|
||||
use app\service\ArticleService;
|
||||
|
||||
/**
|
||||
* 首页
|
||||
@ -62,6 +63,7 @@ class Index extends Common
|
||||
'navigation' => AppHomeNavService::AppHomeNav(),
|
||||
'banner_list' => BannerService::Banner(),
|
||||
'data_list' => $data_list,
|
||||
'article_list' => ArticleService::HomeArticleList(),
|
||||
'common_cart_total' => BuyService::UserCartTotal(['user'=>$this->user]),
|
||||
];
|
||||
return ApiService::ApiDataReturn(SystemBaseService::DataReturn($result));
|
||||
|
Loading…
Reference in New Issue
Block a user