mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
[更新]修改后台样式
This commit is contained in:
parent
da8cad80ec
commit
2372a16f2c
@ -71,10 +71,12 @@ class Config extends Controller
|
|||||||
if (Request::isGet()) {
|
if (Request::isGet()) {
|
||||||
$this->title = '系统参数配置';
|
$this->title = '系统参数配置';
|
||||||
$this->fetch();
|
$this->fetch();
|
||||||
|
} else {
|
||||||
|
foreach (Request::post() as $key => $value) {
|
||||||
|
sysconf($key, $value);
|
||||||
|
}
|
||||||
|
$this->success('系统参数配置成功!');
|
||||||
}
|
}
|
||||||
$post = $this->request->post();
|
|
||||||
foreach ($post as $key => $value) sysconf($key, $value);
|
|
||||||
$this->success('系统参数配置成功!');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -44,7 +44,7 @@ class Plugs extends Controller
|
|||||||
*/
|
*/
|
||||||
public function check()
|
public function check()
|
||||||
{
|
{
|
||||||
$diff1 = explode(',', strtolower(input('exts')));
|
$diff1 = explode(',', strtolower(input('exts', '')));
|
||||||
$diff2 = explode(',', strtolower(sysconf('storage_local_exts')));
|
$diff2 = explode(',', strtolower(sysconf('storage_local_exts')));
|
||||||
$exts = array_intersect($diff1, $diff2);
|
$exts = array_intersect($diff1, $diff2);
|
||||||
$this->success('获取文件上传参数', [
|
$this->success('获取文件上传参数', [
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hr-line-dashed margin-left-40"></div>
|
<div class="hr-line-dashed margin-left-40"></div>
|
||||||
<div class="layui-form-item text-center">
|
<div class="layui-form-item text-center padding-left-40">
|
||||||
<input type="hidden" name="storage_type" value="local">
|
<input type="hidden" name="storage_type" value="local">
|
||||||
<button class="layui-btn" type="submit">保存配置</button>
|
<button class="layui-btn" type="submit">保存配置</button>
|
||||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hr-line-dashed margin-left-40"></div>
|
<div class="hr-line-dashed margin-left-40"></div>
|
||||||
<div class="layui-form-item text-center">
|
<div class="layui-form-item text-center padding-left-40">
|
||||||
<input type="hidden" name="storage_type" value="oss">
|
<input type="hidden" name="storage_type" value="oss">
|
||||||
<button class="layui-btn" type="submit">保存配置</button>
|
<button class="layui-btn" type="submit">保存配置</button>
|
||||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hr-line-dashed margin-left-40"></div>
|
<div class="hr-line-dashed margin-left-40"></div>
|
||||||
<div class="layui-form-item text-center">
|
<div class="layui-form-item text-center padding-left-40">
|
||||||
<input type="hidden" name="storage_type" value="qiniu">
|
<input type="hidden" name="storage_type" value="qiniu">
|
||||||
<button class="layui-btn" type="submit">保存配置</button>
|
<button class="layui-btn" type="submit">保存配置</button>
|
||||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消修改吗?" data-close>取消修改</button>
|
||||||
|
@ -92,6 +92,6 @@ class Push extends Controller
|
|||||||
*/
|
*/
|
||||||
private function writeNone($ip, $mac, $desc)
|
private function writeNone($ip, $mac, $desc)
|
||||||
{
|
{
|
||||||
|
// @todo 记录未匹配成功的设备标识
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user