增加邮件发送功能

This commit is contained in:
2026-02-05 22:27:49 +08:00
parent 27819199a4
commit a32b1656b0
5 changed files with 371 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
use think\facade\Route;
// 邮箱管理路由
Route::group('email', function () {
// 获取邮箱信息
Route::get('info', 'app\admin\controller\System\EmailController/getEmailInfo');
// 编辑邮箱信息
Route::post('editinfo', 'app\admin\controller\System\EmailController/editEmailInfo');
// 发送测试邮件
Route::post('sendtestemail', 'app\admin\controller\System\EmailController/sendTestEmail');
});