更新页面文件

This commit is contained in:
2019-07-06 21:14:19 +08:00
parent 79615defdb
commit 1b2fc10502
56 changed files with 3847 additions and 103 deletions

View File

@@ -10,6 +10,7 @@
namespace app\model;
use think\Model;
use think\facade\Cache;
/**
* 设置模型
@@ -28,7 +29,8 @@ class Config extends Model{
}
protected function getTypeTextAttr($value, $data){
$type = config('config_type_list');
$config = Cache::get('system_config');
$type = $config['config_type_list'];
$type_text = explode(',', $type[$data['type']]);
return $type_text[0];
}