P5: 后台独立应用(MUI)- 13 模块/布局/守卫/复用前台基建
This commit is contained in:
@@ -9,3 +9,8 @@ export function sendVerify(email, username) {
|
||||
export function completeRegister(code, username, password) {
|
||||
return request('/email/complete-register', { method: 'POST', body: { code, username, password } });
|
||||
}
|
||||
|
||||
/** 发送 SMTP 测试邮件(仅管理员) */
|
||||
export function testSmtp(email) {
|
||||
return request('/email/test', { method: 'POST', body: { email } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user