feat: 测试
parent
554f905488
commit
885d19a585
|
@ -10,12 +10,6 @@ export namespace TemplateApi {
|
||||||
page_size: number;
|
page_size: number;
|
||||||
template_type?: string;
|
template_type?: string;
|
||||||
}
|
}
|
||||||
/** 新增模板*/
|
|
||||||
export interface TemplateAddRequest {
|
|
||||||
name?: string;
|
|
||||||
template_type?: string;
|
|
||||||
description?: string;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,14 +26,3 @@ export async function TemplateQueryPage(
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// 新增模板
|
|
||||||
|
|
||||||
export async function TemplateAdd(data: any) {
|
|
||||||
return cdcmRequestClient.post('/template', data, {
|
|
||||||
responseReturn: 'data',
|
|
||||||
headers: {
|
|
||||||
cdcm: token,
|
|
||||||
action: 52_012,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue