[更新]修改配置

This commit is contained in:
Anyon 2019-08-01 16:27:37 +08:00
parent d42da55213
commit 3efba186a5
2 changed files with 4 additions and 5 deletions

View File

@ -94,14 +94,14 @@ class Config extends Controller
if (empty($local) || stripos($local, '.aliyuncs.com') !== false) {
sysconf('storage_oss_domain', $domain);
}
$this->success('阿里云OSS存储动态配置成功!');
$this->success('阿里云OSS存储配置成功!');
} catch (HttpResponseException $exception) {
throw $exception;
} catch (\Exception $e) {
$this->error("阿里云OSS存储配置失效{$e->getMessage()}");
}
} else {
$this->success('系统参数配置成功!');
$this->success('参数配置成功!');
}
}

View File

@ -59,7 +59,7 @@
<div class="layui-form-item layui-inline">
<label class="layui-form-label">授权时间</label>
<div class="layui-input-inline">
<input id="create_at" name="create_at" value="{$Think.get.create_at|default=''}" placeholder="请选择授权时间" class="layui-input">
<input data-date-range name="create_at" value="{$Think.get.create_at|default=''}" placeholder="请选择授权时间" class="layui-input">
</div>
</div>
@ -73,5 +73,4 @@
<script>
window.form.render();
window.laydate.render({range: true, elem: '#create_at'});
</script>
</script>