ComposerUpdate

This commit is contained in:
Anyon 2020-01-13 17:24:11 +08:00
parent b85978f0a6
commit 82dc391f20
5 changed files with 11 additions and 11 deletions

View File

@ -3,7 +3,7 @@
<span class="color-green font-w7">LinkType</span><br><span class="nowrap color-desc">链接类型</span> <span class="color-green font-w7">LinkType</span><br><span class="nowrap color-desc">链接类型</span>
</label> </label>
<div class="layui-input-block"> <div class="layui-input-block">
{foreach ['link_type_none'=>'简洁链接','link_type_full'=>'完整链接'] as $k=>$v} {foreach ['none'=>'简洁链接','full'=>'完整链接'] as $k=>$v}
<label class="think-radio"> <label class="think-radio">
{if sysconf('storage.link_type') eq $k} {if sysconf('storage.link_type') eq $k}
<input checked type="radio" name="storage.link_type" value="{$k}" lay-ignore> {$v} <input checked type="radio" name="storage.link_type" value="{$k}" lay-ignore> {$v}

8
composer.lock generated
View File

@ -909,12 +909,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "d2a8d9065308d0ce7b5d4e8ac916bb2a5095cb4c" "reference": "92ed0becfcfd239929b0ec64afca3618b6a3383c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/d2a8d9065308d0ce7b5d4e8ac916bb2a5095cb4c", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/92ed0becfcfd239929b0ec64afca3618b6a3383c",
"reference": "d2a8d9065308d0ce7b5d4e8ac916bb2a5095cb4c", "reference": "92ed0becfcfd239929b0ec64afca3618b6a3383c",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -958,7 +958,7 @@
], ],
"description": "ThinkPHP v6.0 Development Library", "description": "ThinkPHP v6.0 Development Library",
"homepage": "http://framework.thinkadmin.top", "homepage": "http://framework.thinkadmin.top",
"time": "2020-01-13T08:52:47+00:00" "time": "2020-01-13T09:00:03+00:00"
}, },
{ {
"name": "zoujingli/wechat-developer", "name": "zoujingli/wechat-developer",

View File

@ -935,12 +935,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "d2a8d9065308d0ce7b5d4e8ac916bb2a5095cb4c" "reference": "92ed0becfcfd239929b0ec64afca3618b6a3383c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/d2a8d9065308d0ce7b5d4e8ac916bb2a5095cb4c", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/92ed0becfcfd239929b0ec64afca3618b6a3383c",
"reference": "d2a8d9065308d0ce7b5d4e8ac916bb2a5095cb4c", "reference": "92ed0becfcfd239929b0ec64afca3618b6a3383c",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -956,7 +956,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-01-13T08:52:47+00:00", "time": "2020-01-13T09:00:03+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"think": { "think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php <?php
// This file is automatically generated at:2020-01-13 16:54:27 // This file is automatically generated at:2020-01-13 17:23:44
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\app\\Service', 0 => 'think\\app\\Service',

View File

@ -190,7 +190,7 @@ abstract class Storage
*/ */
protected function getSuffix($attname = null) protected function getSuffix($attname = null)
{ {
if (sysconf('storage.link_type') === 'link_type_full') { if (sysconf('storage.link_type') === 'full') {
if (is_string($attname) && strlen($attname) > 0) { if (is_string($attname) && strlen($attname) > 0) {
return "?attname=" . urlencode($attname); return "?attname=" . urlencode($attname);
} }