debug
This commit is contained in:
@@ -3,21 +3,12 @@ import { ContentList } from "@/api/interface/email/content";
|
||||
import { EMAIL_PORT } from "@/api/config/servicePort";
|
||||
import http from "@/api";
|
||||
|
||||
/**
|
||||
* @name 邮件事件列表
|
||||
*/
|
||||
export const getList = (params: ContentList.ReqParams) => {
|
||||
return http.get<ResPage<ContentList.ResList>>(EMAIL_PORT + `/content/list`, params);
|
||||
};
|
||||
/**
|
||||
* @name 设置邮件事件
|
||||
*/
|
||||
export const saveData = (params: ContentList.saveParams) => {
|
||||
return http.post<ResPage<ResultData>>(EMAIL_PORT + `/content/save`, params);
|
||||
};
|
||||
/**
|
||||
* @name 删除邮件事件
|
||||
*/
|
||||
export const deleteItem = (params: ContentList.delParams) => {
|
||||
return http.post<ResPage<ResultData>>(EMAIL_PORT + `/content/del`, params);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user