feat:代码生成模板新增清空操作

This commit is contained in:
不做码农
2022-09-23 09:53:23 +08:00
parent c6aecf2c76
commit b8b323a090
7 changed files with 74 additions and 3 deletions

View File

@@ -72,6 +72,14 @@ export function del${genTable.BusinessName}(pid) {
})
}
// 清空${genTable.functionName}
export function clear${genTable.BusinessName}() {
return request({
url: '${genTable.ModuleName}/${genTable.BusinessName}/clean',
method: 'delete'
})
}
// 导出${genTable.functionName}
export function export${genTable.BusinessName}(query) {
return request({