【更新】代码生成去除PC前端跟移动端前端的list接口

pull/150/head
xiaonuobase 2023-08-11 19:11:34 +08:00
parent 67bf454e66
commit f3bdde8c1a
2 changed files with 0 additions and 12 deletions

View File

@ -13,10 +13,6 @@ export default {
${classNameFirstLower}Page(data) {
return request('page', data, 'get')
},
// 获取${functionName}列表
${classNameFirstLower}List(data) {
return request('list', data, 'get')
},
// 提交${functionName}表单 edit为true时为编辑默认为新增
${classNameFirstLower}SubmitForm(data, edit = false) {
return request(edit ? 'edit' : 'add', data)

View File

@ -8,14 +8,6 @@ export function ${classNameFirstLower}Page(data) {
data: data
})
}
// 获取${functionName}列表
export function ${classNameFirstLower}List(data) {
return request({
url: '/${moduleName}/${busName}/list',
method: 'get',
data: data
})
}
// 提交${functionName}表单 add为false时为编辑默认为新增
export function ${classNameFirstLower}SubmitForm(data, add = true) {
return request({