From edcd533f2cde36d56a1c49721f73c4421f2852c2 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Wed, 30 Apr 2025 21:08:06 +0800 Subject: [PATCH] no message --- app/Services/TG/Hook/Mod/Git.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/Services/TG/Hook/Mod/Git.php b/app/Services/TG/Hook/Mod/Git.php index 11aa72b..dc2384e 100644 --- a/app/Services/TG/Hook/Mod/Git.php +++ b/app/Services/TG/Hook/Mod/Git.php @@ -5,6 +5,20 @@ use App\Models\Article as ModelArticle; class Git extends Base { + public function UrlList() + { + $aArticleList = ModelArticle::orderBy('user_name')->get()->toArray(); + + $sMsg = ''; + foreach ($aArticleList as $v) { + $sMsg = '\n\n'; + $sMsg = "https://github.com/".$v['user_name']."/".$v['project_name']; + } + + return $sMsg; + + } + public function LastTime($aParam) { $iId = $aParam['aArg'][1];