|
|
@@ -95,18 +95,10 @@ class ConfigController extends BaseController {
|
|
|
if($config['INPUT_TYPE'] == Config::INPUT_TYPE_TABLE) {
|
|
|
$configs[$key]['VALUE'] = Json::decode($config['VALUE']);
|
|
|
}
|
|
|
- $configs[$key]['TITLE'] = Yii::t('ctx', $config['LANGUAGE_KEY']);
|
|
|
+ $configs[$key]['TITLE'] = $config['LANGUAGE_KEY'] ? Yii::t('ctx', $config['LANGUAGE_KEY']) : $config['TITLE'];
|
|
|
}
|
|
|
- // 获取会员报单级别的相关参数
|
|
|
-// $decLevel = Cache::getDecLevelConfig();
|
|
|
- // 获取会员聘级相关参数
|
|
|
-// $empLevel = Cache::getEmpLevelConfig();
|
|
|
- $result = [
|
|
|
- 'config' => $configs,
|
|
|
-// 'decLevel' => $decLevel,
|
|
|
-// 'empLevel' => $empLevel,
|
|
|
- ];
|
|
|
- return static::notice($result);
|
|
|
+
|
|
|
+ return static::notice(['config' => $configs]);
|
|
|
}
|
|
|
|
|
|
/**
|