diff --git a/app/admin/view/config/storage-alioss.html b/app/admin/view/config/storage-alioss.html index 641be0c6a..1e9ba041f 100644 --- a/app/admin/view/config/storage-alioss.html +++ b/app/admin/view/config/storage-alioss.html @@ -1,8 +1,9 @@
-
-

文件将上传到阿里云OSS空间,需要配置OSS公开访问及跨域策略(目前已实现自动创建空间及配置访问策略)。

+
+

文件将上传到阿里云 OSS 存储,需要配置 OSS 公开访问及跨域策略。

+

直传需要配置跨域规则,设置来源为 *,允许 Methods 为 POST,允许 Headers 为 *

diff --git a/app/admin/view/config/storage-local.html b/app/admin/view/config/storage-local.html index d80010e67..1a291b31f 100644 --- a/app/admin/view/config/storage-local.html +++ b/app/admin/view/config/storage-local.html @@ -1,20 +1,28 @@
-
-

文件将存储在本地服务器,需确保服务器的 public/upload 目录有写入权限,有足够的存储空间!

+ +
+

文件将存储在本地服务器,默认保存在 public/upload 目录,文件以 HASH 命名。

+

文件存储的目录需要有读写权限,有足够的存储空间

+
- +
- +

设置系统允许上传文件的后缀,多个以英文逗号隔开。如:png,jpg,rar,doc

+
+ +
-
+
\ No newline at end of file diff --git a/app/admin/view/config/storage-qiniu.html b/app/admin/view/config/storage-qiniu.html index 9dfbca5ce..1e04dea58 100644 --- a/app/admin/view/config/storage-qiniu.html +++ b/app/admin/view/config/storage-qiniu.html @@ -1,18 +1,25 @@
-
-

文件将上传到七牛云存储,对象存储需要配置为公开访问的Bucket空间!

+ +
+

文件将上传到七牛云存储,对象存储需要配置为公开访问的 Bucket 空间。

完成实名认证后可获得10G免费存储空间哦!我要免费申请
+
- +
- +

设置系统允许上传文件的后缀,多个以英文逗号隔开。如:png,jpg,rar,doc

-
- + +
+
{foreach ['http','https','auto'] as $pro}
-
- + +
+
{foreach ['华东','华北','华南','北美'] as $area}
-
- + +
+
- +

填写七牛云存储空间名称,如:static

-
- + +
+
- +

填写七牛云存储访问域名,如:static.ctolog.com

-
- + +
+
- +

可以在 [ 七牛云 > 个人中心 ] 设置并获取到访问密钥。

-
- + +
+
- +

可以在 [ 七牛云 > 个人中心 ] 设置并获取到安全密钥。

+
+ +
-