代码拉取完成,页面将自动刷新
composer require ghost/dcat-config
admin_setting 添加 ghost::admin_config 字段
key=>value形式保存
可以替换系统config 或env 配置 使用 config("key");
//resources/lang/zh-CN/dcat-config
return [
'Basic'=>'基本配置'
];
目前支持
'text' => '文本',
'select' => '下拉选框单选',
'multipleSelect' => '下拉选框多选',
'listbox' => '多选盒',
'textarea' => '长文本',
'radio' => '单选',
'checkbox' => '多选',
'email' => '邮箱',
'password' => '密码',
'url' => '链接',
'ip' => 'IP',
'mobile' => '手机',
'color' => '颜色选择器',
'time' => '时间',
'date' => '日期',
'datetime' => '时间日期',
'file' => '文件上传',
'image' => '图片上传',
'multipleImage' => '多图上传',
'multipleFile' => '多文件上传',
'editor' => '富文本编辑器',
'number' => '数字',
'rate' => '费率',
'array'=>'数组'
```
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。