no message

This commit is contained in:
hellcat 2025-07-13 16:17:47 +08:00
parent 0c2f55618e
commit 36f756f86d
3 changed files with 27 additions and 81 deletions

View File

@ -1,78 +1 @@
<img src="public/images/uim-logo-round_192x192.png" alt="logo" width="150" height="150" align="left" />
<h1>SSPanel UIM</h1>
> Across the Great Wall we can reach every corner in the world
<br>
<br>
[![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
- NginxHTTPS 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
<a href="https://www.patreon.com/catdev"><img src=".github/PATREON.png" width="300"></a>
<a href="https://www.vultr.com/?ref=8941355-8H"><img src=".github/vultr.png" width="300"></a>
<a href="https://www.digitalocean.com/?refcode=50f1a3b6244c"><img src=".github/do.png" width="300"></a>
## Sponsors
[![](.github/jetbrains.png)](https://www.jetbrains.com/?from=SSPanel-UIM)
## License
[MIT License](blob/dev/LICENSE)
<br>礼盒内容:<br><br>一批6折优惠码shuqi25仅限购买月套餐。<br><br>10g流量自动发送给有套餐用户。<br><br>福云最新域名fuuuu.cloud。

22
resources/email/one.tpl Executable file
View File

@ -0,0 +1,22 @@
{include file='header.tpl'}
<body style="background-color:#EEEEEE;">
<div style="text-align: center">
<div border="0" cellpadding="0" cellspacing="0" width="100%"
style="padding-top:30px;table-layout:fixed;background-color:#EEEEEE;" id="bodyTable">
<div align="center" valign="top" style="padding-right:10px;padding-left:10px;" id="bodyCell">
<div border="0" cellpadding="0" cellspacing="0" style="max-width:600px;text-align: center" width="100%"
class="wrapperTable">
<div align="center" valign="top">
<div border="0" cellpadding="0" cellspacing="0" style="background-color:#FFFFFF" width="100%"
class="oneColumn">
<div align="center" valign="top"
style="padding-bottom:60px;padding-left:20px;padding-right:20px;" class="description">
<p class="midText">
{$text}
</p>
</div>
</div>
</div>
</div>
{include file='footer.tpl'}

View File

@ -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) {