From 83435aa892c1f4bd425ca4c7c83ef0ea1aaa5c65 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Mon, 30 Jun 2025 14:29:55 +0800 Subject: [PATCH] no message --- app/Http/Controllers/CronController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/CronController.php b/app/Http/Controllers/CronController.php index 6969fcd..7ea03b1 100755 --- a/app/Http/Controllers/CronController.php +++ b/app/Http/Controllers/CronController.php @@ -184,7 +184,7 @@ class CronController $aMsg = [ "命令" => $command, - "结果" => $output, + "结果" => json_encode($output), "文章" => $this->aArticle, ]; @@ -208,7 +208,7 @@ class CronController // 设置用户 $this->runCommand("git config --local user.name \"{$this->sUserName}\""); - $this->runCommand("git config --local user.email \"{$this->sUserName}@tuta.io\""); + $this->runCommand("git config --local user.email \"{$this->sUserName}@tuta.io\""); //这里得改,直接tuta不行 // 创建并切换到 main 分支 $this->runCommand('git branch -M main');