From c7019c08bcb2dc928db75e1cba4f062f2b9745e6 Mon Sep 17 00:00:00 2001 From: Amujie <1570457334@qq.com> Date: Wed, 1 Jul 2020 16:27:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9F=90=E4=BA=9B=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + about/changelog.json | 6 ++---- asset/exc/create.php | 6 +++--- html/tinier/config.html | 4 ++-- info.ini | 4 ++-- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 222a67a..2b4ab16 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ - 作者首页:[https://amujie.com](https://amujie.com) - 加群链接:[https://jq.qq.com/?_wv=1027&k=5Cpumac](https://jq.qq.com/?_wv=1027&k=5Cpumac) - 扣群号码:137183109 +- 静态文件:[https://cdn.jsdelivr.net/gh/amujie/mojia@latest/](https://cdn.jsdelivr.net/gh/amujie/mojia@latest/) #### 主题简介 - 主题定价:¥198(一个站点丨售后永久免费更新) diff --git a/about/changelog.json b/about/changelog.json index 808d359..b206915 100644 --- a/about/changelog.json +++ b/about/changelog.json @@ -1,7 +1,4 @@ { - "1.0.7": [ - "优化主题升级功能" - ], "1.0.7": [ "使用1.0.6之前版本的请先恢复默认设置再使用", "修复防红页面点击浏览器图标跳转支付宝的问题", @@ -11,7 +8,8 @@ "修复断点采集增加采集收藏", "优化首页周更剧场显示问题", "右上角图标增加设置选项", - "将暂无备注改为更新时间" + "将暂无备注改为更新时间", + "优化主题升级功能" ], "1.0.6": [ "此版改动较大,极其不稳定,请使用测试站安装使用", diff --git a/asset/exc/create.php b/asset/exc/create.php index 18f1399..bf9e474 100644 --- a/asset/exc/create.php +++ b/asset/exc/create.php @@ -25,7 +25,7 @@ function moJiaOptions() { preg_match_all('//i', $versnew, $match); echo json_encode(array('ver' => $match[1][0], 'key' => md5('mojia-' . $match[1][0]))); } elseif (@$_POST['ver'] == 'log') { - echo moJiaCurlGet(str_replace('latest',$_POST['new'],moJiaPath('vers')).'about/changelog.json'); + echo moJiaCurlGet(str_replace('latest', $_POST['new'], moJiaPath('vers')) . 'about/changelog.json'); } } elseif (isset($_POST['key'])) { if (file_put_contents(moJiaPath('path') . 'application/extra/mojiakey.php', '')) { @@ -129,7 +129,7 @@ function moJiaCollect() { $array[$value]['collect_code'] = mac_get_mid_code($array[$value]['collect_mid']); $array[$value]['collect_param'] = base64_encode($array[$value]['collect_param']); } - die(json_encode($array)); + die(json_encode($array ? $array : array())); } elseif (isset($_POST['code'])) { $data = moJiaCurlGet($_POST['url']); if (@$_POST['type'] == 1) { @@ -252,4 +252,4 @@ function moJiaCommon() { echo $output; exit ; } -} \ No newline at end of file +} diff --git a/html/tinier/config.html b/html/tinier/config.html index f9be67c..02d64f2 100644 --- a/html/tinier/config.html +++ b/html/tinier/config.html @@ -1,8 +1,8 @@ - + - + \ No newline at end of file diff --git a/info.ini b/info.ini index ca678d1..82c90a6 100644 --- a/info.ini +++ b/info.ini @@ -5,6 +5,6 @@ webtest = https://mojia.amujie.com qqcode = 1570457334 qqgroup = 137183109 addgroup= 51Zakp5 -lastdate= 2020-06-30 -version = 1.0.5 +lastdate= 2020-07-01 +version = 1.0.7 adsdir = about \ No newline at end of file