|
|
@@ -47,7 +47,6 @@ class IndexController extends webApp
|
|
|
'withdraw_min' => ConfigService::make()->getConfigByCode('withdraw_min', 0),
|
|
|
'withdraw_fee' => ConfigService::make()->getConfigByCode('withdraw_fee', 0),
|
|
|
'notices' => NoticeService::make()->getRecommandList(),
|
|
|
- 'menuList' => $this->getMenus($socialOpen)
|
|
|
];
|
|
|
RedisService::set($cacheKey, $config, 3600);
|
|
|
}
|
|
|
@@ -121,7 +120,7 @@ class IndexController extends webApp
|
|
|
$data['socials'] = SocialCircleService::make()->getIndexList();
|
|
|
} else {
|
|
|
$data['notices'] = NoticeService::make()->getRecommandList();
|
|
|
- $data['menuList'] = $this->getMenus();
|
|
|
+ $data['social_open'] = ConfigService::make()->getConfigByCode('social_open', 0);
|
|
|
}
|
|
|
|
|
|
return showJson(1010, true, $data);
|