From 62cc18397c0b5b1fabd8e50eec00fbb29159bbbb Mon Sep 17 00:00:00 2001 From: sven <121642038@qq.com> Date: Tue, 31 Mar 2020 19:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A3=80=E6=B5=8B=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E7=9A=84url=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ctrl/BaseUserCtrl.php | 2 +- bin/config.toml | 2 +- bin/cron.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/ctrl/BaseUserCtrl.php b/app/ctrl/BaseUserCtrl.php index 8536562fe..b127b7aa0 100644 --- a/app/ctrl/BaseUserCtrl.php +++ b/app/ctrl/BaseUserCtrl.php @@ -204,7 +204,7 @@ public function checkUpdate() if ($this->isAdmin) { $checkVersionFile = STORAGE_PATH . 'tmp/' . date('Y-m-d-H') . '.-check-version.log'; if (!file_exists($checkVersionFile)) { - $sourceHost = 'http://www.masterlab.com/'; + $sourceHost = 'http://www.masterlab.vip/'; $url = $sourceHost . 'upgrade.php?action=get_patch_info¤t_version=' . MASTERLAB_VERSION; $curl = new \Curl\Curl(); $curl->setTimeout(5); diff --git a/bin/config.toml b/bin/config.toml index b3e1b1e6e..748408b52 100644 --- a/bin/config.toml +++ b/bin/config.toml @@ -18,7 +18,7 @@ single_mode = true auth_cmds = ["Auth","Authorize"] [mysql] - database = "masterlab122" + database = "masterlab211" host = "localhost" port = "3306" user = "root" diff --git a/bin/cron.json b/bin/cron.json index 403899fd3..6c3486789 100644 --- a/bin/cron.json +++ b/bin/cron.json @@ -3,21 +3,21 @@ "schedule": [ { "name": "ProjectStat", - "exe_bin": "C:/xampp7.2/php/php.exe", + "exe_bin": "C:/xampp7.4/php/php.exe", "exp": "0 */30 * * * ?", "file": "C:/www/masterlab/app/server/timer/project.php", "arg": "-f" }, { "name": "ProjectReport", - "exe_bin": "C:/xampp7.2/php/php.exe", + "exe_bin": "C:/xampp7.4/php/php.exe", "exp": "0 58 23 * * ?", "file": "C:/www/masterlab/app/server/timer/projectDayReport.php", "arg": "-f" }, { "name": "SprintReport", - "exe_bin": "C:/xampp7.2/php/php.exe", + "exe_bin": "C:/xampp7.4/php/php.exe", "exp": "0 59 23 * * ?", "file": "C:/www/masterlab/app/server/timer/sprintDayReport.php", "arg": "-f"