|
|
@@ -4,6 +4,7 @@ namespace App\Http\Controllers\Api\v1;
|
|
|
|
|
|
use App\Http\Controllers\Api\webApp;
|
|
|
use App\Services\Api\ArticleService;
|
|
|
+use App\Services\Api\GoodsService;
|
|
|
use App\Services\Common\AdService;
|
|
|
use App\Services\Common\NoticeService;
|
|
|
use App\Services\ConfigService;
|
|
|
@@ -67,7 +68,7 @@ class IndexController extends webApp
|
|
|
$data = [
|
|
|
// 轮播
|
|
|
'banners' => AdService::make()->getListByPosition(1),
|
|
|
- 'articles' => ArticleService::make()->getListByType(1),
|
|
|
+ 'goods' => GoodsService::make()->getListByType(2),
|
|
|
];
|
|
|
|
|
|
return showJson(1010, true, $data);
|