@@ -104,11 +104,8 @@ class Config extends Model
}
public static function newgetGroupList()
{
- $groupList = array (
-// 'basic' => '基础配置',
- 'website' => '金钱变量',
- 'withdraw' => '提现配置',
- );
+ $groupList = config('generalconfig');
+
foreach ($groupList as $k => &$v) {
$v = __($v);
@@ -385,4 +385,13 @@ return [
'public_key' => '',
'private_key' => '',
'ali_public_key' => '',
+ //基础配置
+ 'generalconfig' => [
+ 'app' => 'APP配置',
+ 'website' => '金钱变量',
+ 'withdraw' => '提现配置',
+ 'showrules' => '显示规则配置',
+ 'active' => '活动设置',
+ ],
];
@@ -30,6 +30,7 @@ return array (
'withdraw' => '提现配置',
'showrules' => '显示规则配置',
'active' => '活动设置',
+ 'app' => 'app配置',
),
'mail_type' => '1',
'mail_smtp_host' => 'smtp.163.com',