diff --git a/README.md b/README.md index db7abaf9..5a794466 100755 --- a/README.md +++ b/README.md @@ -1,78 +1 @@ -logo - -

SSPanel UIM

- -> Across the Great Wall we can reach every corner in the world - -
-
- -[![License](https://img.shields.io/github/license/SSPanel-UIM/SSPanel-UIM-Dev?style=flat-square)](https://github.com/SSPanel-UIM/SSPanel-UIM-Dev/blob/dev/LICENSE) -![GitHub repo size](https://img.shields.io/github/repo-size/SSPanel-UIM/SSPanel-UIM-Dev?style=flat-square) -![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/Anankke/SSPanel-Uim?style=flat-square) -![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SSPanel-UIM/SSPanel-UIM-Dev/lint.yml?branch=dev&label=lint&style=flat-square) -![Sonar Quality Gate](https://img.shields.io/sonar/quality_gate/sspanel-uim_SSPanel-Uim-Dev/dev?server=https%3A%2F%2Fsonarcloud.io&style=flat-square) -![Sonar Coverage](https://img.shields.io/sonar/coverage/sspanel-uim_SSPanel-Uim-Dev/dev?server=https%3A%2F%2Fsonarcloud.io&style=flat-square) - -[![Release](https://img.shields.io/badge/Telegram-Release-blue?style=flat-square)](https://t.me/sspanel_uim) -[![Dev](https://img.shields.io/badge/Telegram-Dev-blue?style=flat-square)](https://t.me/sspanel_uim_dev) -[![Discord](https://img.shields.io/discord/1049692075085549600?color=5865F2&label=Discord&style=flat-square)](https://discord.gg/A7uFKCvf8V) -[![Dev Blog](https://img.shields.io/badge/Dev-Blog-blue?style=flat-square)](https://blog.sspanel.org) - -## TL;DR - -SSPanel UIM is a multi-purpose proxy service management system designed for Shadowsocks / V2Ray / Trojan / TUIC protocol. - -## Features - -- Integrate multiple payment systems such as Alipay F2F, PayPal, Stripe, etc. -- Support multiple mail services, built-in mail queue function, no third-party components are required to use -- Built-in tabler theme based on Bootstrap 5, template engine support -- Support Shadowsocks 2022, TUIC, and other latest proxy protocols -- Universal subscription interface, one-click json/clash/sip008/sing-box format subscription distribution -- Custom node configuration, modular subscription system, support multiple client-specific subscription formats -- Refactored store system, support billing modes including but not limited to annual/monthly, pay-as-you-go, access type billing, etc. -- Refactored scheduled task system, one command can automatically complete all scheduled tasks -- Deep integration of large language models, support intelligent replies to tickets, document generation, and other functions -- One-click access to OpenAI, Google AI, Vertex AI, Hugging Face Hosted API, Cloudflare Workers AI, Anthropic, and other large language model services - -## Installation - -SSPanel UIM requires the following programs to be installed and run normally: - -- Git -- Nginx(HTTPS is REQUIRED) -- PHP 8.2+ (OPcache+JIT is highly recommended) -- MariaDB 10.11+(Disable strict mode) -- Redis 7.0+ - -## Documentation - -> We install, we update, we develop - -[SSPanel UIM Wiki (zh)](https://wiki.sspanel.org), here you can find answers to most questions. - -## Related Projects - -SSPanel-UIM is not just a panel, it also includes a series of peripheral projects to help you use it better. - -You can view other projects maintained by our developers on the [SSPanel-UIM Dev Team](https://github.com/sspanel-uim) page. - -## Support Developers - -### M1Screw - - - - - - - - -## Sponsors - -[![](.github/jetbrains.png)](https://www.jetbrains.com/?from=SSPanel-UIM) - -## License - -[MIT License](blob/dev/LICENSE) +
礼盒内容:

一批6折优惠码:shuqi25,仅限购买月套餐。

10g流量,自动发送给有套餐用户。

福云最新域名fuuuu.cloud。 diff --git a/resources/email/one.tpl b/resources/email/one.tpl new file mode 100755 index 00000000..74e823d2 --- /dev/null +++ b/resources/email/one.tpl @@ -0,0 +1,22 @@ +{include file='header.tpl'} + + +
+
+
+
+
+
+
+

+ {$text} +

+
+
+
+
+ {include file='footer.tpl'} diff --git a/src/Services/Tg/Hook/Mod/Mail.php b/src/Services/Tg/Hook/Mod/Mail.php index 48ce2a88..865eb1f1 100644 --- a/src/Services/Tg/Hook/Mod/Mail.php +++ b/src/Services/Tg/Hook/Mod/Mail.php @@ -149,7 +149,8 @@ final class Mail extends Base { $tmp = [ "type:bulk=群发,none=默认原本", - "tpl:war=重要通知,tip=运维通知,warn=系统提示", + "tpl:war=重要通知,tip=运维通知,warn=系统提示,one=没有大标题一张纸", + "testSend,测试,发给约基奇" ]; $str = TgFormat::arrToStr($tmp); @@ -157,7 +158,7 @@ final class Mail extends Base return $str; } - public function SendTest($aParam) + public function testSend($aParam) { $aParam["is_test"] = true; @@ -172,7 +173,7 @@ final class Mail extends Base $isTest = $aParam["is_test"] ?? false; if ($iId == "?") { - return "/mail#send__{class大于等于,支持zero}__{type?} {articleId} | type=空:核查提示,type=yes:确认核查 | 套壳:sendTest"; + return "/mail#send__{class大于等于,支持zero}__{type?} {articleId} | type=空:核查提示,type=yes:确认核查 | 套壳:testSend"; } if (!$iId) {