Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Jun 16, 2023
1 parent cef3c95 commit 563f7d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions app/src/main/assets/defaultData/directLinkUpload.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
{
"uploadUrl": "https://sy.mgz6.cc/shuyuan,{\"method\":\"POST\",\"body\": {\"file\": \"fileRequest\"},\"type\": \"multipart/form-data\"}",
"downloadUrlRule": "$.data@js:if (result == '') \n '' \n else \n 'https://shuyuan.mgz6.cc/shuyuan/' + result",
"summary": "喵公子网盘(有效期7天)"
"summary": "喵公子网盘(有效期7天)",
"compress": false
},
{
"uploadUrl": "http://v2.jt12.de/up-v2.php,{\"method\":\"POST\",\"body\": {\"file\": \"fileRequest\"},\"type\": \"multipart/form-data\"}",
"downloadUrlRule": "$.msg",
"summary": "橘涂网盘(永久有效)"
"summary": "橘涂网盘(永久有效)",
"compress": false
}
]
2 changes: 1 addition & 1 deletion app/src/main/java/io/legado/app/help/DirectLinkUpload.kt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ object DirectLinkUpload {
var uploadUrl: String, //上传url
var downloadUrlRule: String, //下载链接规则
var summary: String, //注释
var compress: Boolean = true, //是否压缩
var compress: Boolean = false, //是否压缩
) {

override fun toString(): String {
Expand Down

0 comments on commit 563f7d4

Please sign in to comment.