|
|
@ -7,6 +7,7 @@ use App\Constants\v3\Banner; |
|
|
use App\Constants\v3\SsdbKeys; |
|
|
use App\Constants\v3\SsdbKeys; |
|
|
use App\Constants\v3\Tabs; |
|
|
use App\Constants\v3\Tabs; |
|
|
use App\Controller\BaseController; |
|
|
use App\Controller\BaseController; |
|
|
|
|
|
use App\Request\v3\StoreIndexRequest; |
|
|
use App\Request\v3\UserIndexRequest; |
|
|
use App\Request\v3\UserIndexRequest; |
|
|
use App\Service\v3\Interfaces\ActivityServiceInterface; |
|
|
use App\Service\v3\Interfaces\ActivityServiceInterface; |
|
|
use App\Service\v3\Interfaces\BannerServiceInterface; |
|
|
use App\Service\v3\Interfaces\BannerServiceInterface; |
|
|
@ -174,9 +175,10 @@ class HomeController extends BaseController |
|
|
* 商家入口详情 |
|
|
* 商家入口详情 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
public function storeIndex() |
|
|
|
|
|
|
|
|
public function storeIndex(StoreIndexRequest $request) |
|
|
{ |
|
|
{ |
|
|
$data['detail'] = $this->storeService->detail(1); |
|
|
|
|
|
|
|
|
$params = $request->validated(); |
|
|
|
|
|
$data['detail'] = $this->storeService->detail($params['store_id']); |
|
|
$data['order_online'] = [ |
|
|
$data['order_online'] = [ |
|
|
'count' => 6549, |
|
|
'count' => 6549, |
|
|
'total' => 12654.12 |
|
|
'total' => 12654.12 |
|
|
|