增加源邮件配置

This commit is contained in:
龙运模
2024-08-24 16:57:53 +08:00
parent 6447a9cfae
commit dca3d7522c
3 changed files with 123 additions and 2 deletions
+16
View File
@@ -17,5 +17,21 @@ export default {
return await http.post(this.url, data);
},
},
},
mail:{
set:{
url: `${config.API_URL}/mail.config.set`,
name: "源邮件配置",
post: async function (data = {}) {
return await http.post(this.url, data);
},
},
get:{
url: `${config.API_URL}/mail.config.get`,
name: "源邮件获取",
post: async function (data = {}) {
return await http.post(this.url, data);
},
}
}
};