ComposerUpdate

This commit is contained in:
Anyon 2019-12-30 17:38:14 +08:00
parent 8ea11bab22
commit fb4976501a
5 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@ define(['md5'], function (SparkMD5, allowExtsMimes) {
files = object.pushFile(), $input.data('files', files); files = object.pushFile(), $input.data('files', files);
for (index in files) md5file(files[index]).then(function (file) { for (index in files) md5file(files[index]).then(function (file) {
$input.data('file', file).data('index', index); $input.data('file', file).data('index', index);
jQuery.ajax("?s=admin/api.upload/state", { jQuery.ajax("{:url('@admin/api.upload/state')}", {
data: {xkey: file.xkey, uptype: uptype, safe: safe}, method: 'post', success: function (ret) { data: {xkey: file.xkey, uptype: uptype, safe: safe}, method: 'post', success: function (ret) {
file.xurl = ret.data.url; file.xurl = ret.data.url;
if (ret.code === 404) { if (ret.code === 404) {

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": "cc6078bda8b769fee0f694c1ccd19aa66e61a6cf" "reference": "8d9a76ebfaf1ddd430a997f3bef892b7a5800f4c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/cc6078bda8b769fee0f694c1ccd19aa66e61a6cf", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/8d9a76ebfaf1ddd430a997f3bef892b7a5800f4c",
"reference": "cc6078bda8b769fee0f694c1ccd19aa66e61a6cf", "reference": "8d9a76ebfaf1ddd430a997f3bef892b7a5800f4c",
"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": "2019-12-30T07:02:34+00:00" "time": "2019-12-30T07:20:40+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": "cc6078bda8b769fee0f694c1ccd19aa66e61a6cf" "reference": "8d9a76ebfaf1ddd430a997f3bef892b7a5800f4c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/cc6078bda8b769fee0f694c1ccd19aa66e61a6cf", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/8d9a76ebfaf1ddd430a997f3bef892b7a5800f4c",
"reference": "cc6078bda8b769fee0f694c1ccd19aa66e61a6cf", "reference": "8d9a76ebfaf1ddd430a997f3bef892b7a5800f4c",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -956,7 +956,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2019-12-30T07:02:34+00:00", "time": "2019-12-30T07:20:40+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:2019-12-30 15:11:18 // This file is automatically generated at:2019-12-30 17:33:30
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\app\\Service', 0 => 'think\\app\\Service',

View File

@ -16,14 +16,14 @@
return [ return [
'think_library_not_auth' => 'Sorry, no permission to access the operation.', 'think_library_not_auth' => 'Sorry, no permission to access the operation.',
'think_library_not_login' => 'Sorry, requiring login to obtain view permission.', 'think_library_not_login' => 'Sorry, requiring login to obtain view permission.',
'think_library_delete_success' => 'Congratulation! Data deletion completed.', 'think_library_delete_success' => 'Data deletion completed.',
'think_library_delete_error' => 'Sorry, data deletion failed, please try again later.', 'think_library_delete_error' => 'Sorry, data deletion failed, please try again later.',
'think_library_form_success' => 'Congratulation! Data saving completed.', 'think_library_form_success' => 'Data saving completed.',
'think_library_form_error' => 'Sorry, data saving failed, please try again later.', 'think_library_form_error' => 'Sorry, data saving failed, please try again later.',
'think_library_save_success' => 'Congratulation! Data update completed.', 'think_library_save_success' => 'Data update completed.',
'think_library_save_error' => 'Sorry, Data update failed, please try again later.', 'think_library_save_error' => 'Sorry, Data update failed, please try again later.',
'think_library_sort_success' => 'Congratulation! Modification of list sort completed.', 'think_library_sort_success' => 'Modification of list sort completed.',
'think_library_sort_error' => 'Sorry, modification of list sort failed, please try again later.', 'think_library_sort_error' => 'Sorry, modification of list sort failed, please try again later.',
'think_library_page_html' => 'total %s records, display %s per page, total %s page current display %s page.', 'think_library_page_html' => 'Total %s records, display %s per page, total %s page current display %s page.',
'think_library_csrf_error' => 'Form token validation failed, please refresh and try again later.', 'think_library_csrf_error' => 'Form token validation failed, please refresh and try again later.',
]; ];