|
@@ -32,8 +32,6 @@ class IndexController extends webApp
|
|
|
$config = [
|
|
$config = [
|
|
|
'app_name' => ConfigService::make()->getConfigByCode('app_name'),
|
|
'app_name' => ConfigService::make()->getConfigByCode('app_name'),
|
|
|
'app_logo' => get_image_url(ConfigService::make()->getConfigByCode('app_logo')),
|
|
'app_logo' => get_image_url(ConfigService::make()->getConfigByCode('app_logo')),
|
|
|
- 'index_logo' => get_image_url(ConfigService::make()->getConfigByCode('index_logo')),
|
|
|
|
|
- 'app_name_logo' => get_image_url(ConfigService::make()->getConfigByCode('app_name_logo')),
|
|
|
|
|
'app_version' => ConfigService::make()->getConfigByCode('app_version'),
|
|
'app_version' => ConfigService::make()->getConfigByCode('app_version'),
|
|
|
'bonus_desc' => format_content(ConfigService::make()->getConfigByCode('bonus_desc', '')),
|
|
'bonus_desc' => format_content(ConfigService::make()->getConfigByCode('bonus_desc', '')),
|
|
|
'auth_desc' => format_content(ConfigService::make()->getConfigByCode('auth_desc', '')),
|
|
'auth_desc' => format_content(ConfigService::make()->getConfigByCode('auth_desc', '')),
|
|
@@ -41,7 +39,6 @@ class IndexController extends webApp
|
|
|
'withdraw_desc' => format_content(ConfigService::make()->getConfigByCode('withdraw_desc', '')),
|
|
'withdraw_desc' => format_content(ConfigService::make()->getConfigByCode('withdraw_desc', '')),
|
|
|
'goods_disclaimer' => format_content(ConfigService::make()->getConfigByCode('goods_disclaimer', '')),
|
|
'goods_disclaimer' => format_content(ConfigService::make()->getConfigByCode('goods_disclaimer', '')),
|
|
|
'wxpay_open' => ConfigService::make()->getConfigByCode('wxpay_open', 0),
|
|
'wxpay_open' => ConfigService::make()->getConfigByCode('wxpay_open', 0),
|
|
|
- 'bank_limit_num' => ConfigService::make()->getConfigByCode('bank_limit_num', 5),
|
|
|
|
|
'withdraw_open' => ConfigService::make()->getConfigByCode('withdraw_open', 0),
|
|
'withdraw_open' => ConfigService::make()->getConfigByCode('withdraw_open', 0),
|
|
|
'withdraw_min' => ConfigService::make()->getConfigByCode('withdraw_min', 0),
|
|
'withdraw_min' => ConfigService::make()->getConfigByCode('withdraw_min', 0),
|
|
|
'withdraw_fee' => ConfigService::make()->getConfigByCode('withdraw_fee', 0),
|
|
'withdraw_fee' => ConfigService::make()->getConfigByCode('withdraw_fee', 0),
|
|
@@ -79,27 +76,6 @@ class IndexController extends webApp
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 行业数据
|
|
|
|
|
- * @return array
|
|
|
|
|
- */
|
|
|
|
|
- public function industry()
|
|
|
|
|
- {
|
|
|
|
|
- try {
|
|
|
|
|
- $data = [
|
|
|
|
|
- // 轮播
|
|
|
|
|
- 'banners' => AdService::make()->getListByPosition(2), // 轮播
|
|
|
|
|
- 'supervisors' => SupervisorsService::make()->getRecommendList(), // 推荐导师
|
|
|
|
|
- 'articles' => ArticleService::make()->getListByType(2), // 行业政策资讯
|
|
|
|
|
- ];
|
|
|
|
|
-
|
|
|
|
|
- return showJson(1010, true, $data);
|
|
|
|
|
- } catch (\Exception $exception) {
|
|
|
|
|
- $error = ['data' => $exception->getTrace(), 'err' => $exception->getMessage()];
|
|
|
|
|
- return showJson(1046, false, $error);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
* 验证更新
|
|
* 验证更新
|
|
|
* @return array
|
|
* @return array
|
|
|
*/
|
|
*/
|