From 41b1ba18b8b462396744fb956471a3a600bce08a Mon Sep 17 00:00:00 2001 From: Lkeme <19500576+lkeme@users.noreply.github.com> Date: Mon, 15 Nov 2021 16:04:25 +0800 Subject: [PATCH] [fix] Reformat Code --- README.md | 2 -- conf/device.yaml | 2 +- src/core/Log.php | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9372a8b..b15bea8 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ [comment]: <> (![Image](https://i.loli.net/2019/07/13/5d2963e5cc1eb22973.png)) - ## 功能组件 以下任务都是按设定周期自动执行,`true`为正常使用,`false`为暂停使用或抛弃。 @@ -105,7 +104,6 @@ Group: [163955623](https://jq.qq.com/?_wv=1027&k=1QMFTUEO) | **请不要来问 [![Stargazers over time](https://starchart.cc/lkeme/BiliHelper-personal.svg)](https://starchart.cc/lkeme/BiliHelper-personal) [![Stargazers over time](https://starchart.cc/lkeme/BiliHelper.svg)](https://starchart.cc/lkeme/BiliHelper) - ## 运行效果 效果图不代表当前版本,请以当前最新版本运行结果为准。 diff --git a/conf/device.yaml b/conf/device.yaml index 9924851..ce2fc22 100644 --- a/conf/device.yaml +++ b/conf/device.yaml @@ -8,7 +8,7 @@ device: other_headers: ua: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36" - pc_headers: _增强便携版 + pc_headers: ua: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.53" app_headers: ua: "Mozilla/5.0 BiliDroid/${bili_a.version} (bbcallen@gmail.com) os/${device.os} model/${device.model} mobi_app/${bili_a.mobi_app} build/${bili_a.build} channel/${bili_a.channel} innerVer/${bili_a.build} osVer/${device.os_ver} network/${device.network}" diff --git a/src/core/Log.php b/src/core/Log.php index ed41b97..fdaa8f3 100644 --- a/src/core/Log.php +++ b/src/core/Log.php @@ -65,7 +65,7 @@ class Log if ($type == 'DEBUG' && !getConf('enable', 'debug')) { return; } - + $filename = APP_LOG_PATH . getConf('username', 'login.account') . ".log"; $date = date('[Y-m-d H:i:s] '); $data = $date . ' Log.' . $type . ' ' . $message . PHP_EOL;