修改七牛云存储兼容

This commit is contained in:
邹景立 2022-09-21 14:51:33 +08:00
parent 7cee61f9aa
commit 26a24a191e

View File

@ -32,15 +32,14 @@
<b class="color-green">存储区域</b><br><span class="nowrap color-desc label-required">Region</span>
</label>
<div class="layui-input-block">
{foreach ['华东','华北','华南','北美'] as $area}
<label class="think-radio">
{if sysconf('storage.qiniu_region') eq $area}
<input checked type="radio" name="storage.qiniu_region" value="{$area}" lay-ignore> {$area}
<select class="layui-select" name="storage.txcos_point" lay-search>
{foreach $points as $point => $title}
{if sysconf('storage.qiniu_region') eq $point}
<option selected value="{$point}">{$title} {$point} </option>
{else}
<input type="radio" name="storage.qiniu_region" value="{$area}" lay-ignore> {$area}
{/if}
</label>
{/foreach}
<option value="{$point}">{$title} {$point} </option>
{/if}{/foreach}
</select>
<p class="help-block">七牛云存储空间所在区域,需要严格对应储存所在区域才能上传文件</p>
</div>
</div>