From b8e97eadc62b0bd84f9110b77a74d38bdb6fcbc8 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Tue, 15 Apr 2025 16:11:53 +0800 Subject: [PATCH] no message --- app/Services/TG/Hook/Mod/Test.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/Services/TG/Hook/Mod/Test.php diff --git a/app/Services/TG/Hook/Mod/Test.php b/app/Services/TG/Hook/Mod/Test.php new file mode 100644 index 0000000..94598bc --- /dev/null +++ b/app/Services/TG/Hook/Mod/Test.php @@ -0,0 +1,31 @@ + 'SaleCode#List', + '优惠码find' => 'SaleCode#Find xxhh', + '优惠码rate' => 'SaleCode#SetRate__xxzz 6.7', + '文章list' => 'Article#List', + '文章like' => 'Article#Like__field like', + '文章add' => 'Article#Add__name', + '文章del' => 'Article#Del__id', + '文章set' => 'Article#Set__id__fild set', +// '添加github的sshhost' => "System#AddSshHostGithub", + '文章clone' => "article#clone id", + '手动pullR' => "article#clone id", + ]; + + $this->oTGHttp->sendToTG(json_encode($aCmdList, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT)); + + $this->oHttp::response(200, 'ok'); + + } + +}