feat:update api model router tpl

This commit is contained in:
zhangwenjian committed 2020-09-10 14:14:08 +08:00
1 parent fa07a57d22
commit 8a7a9db7fd
12 files changed
+148 -38

No files matched your search

+2 -2
View File
@@ -37,9 +37,9 @@ data: data
}
// 删除{{.ClassName}}
export function del{{.ClassName}}({{.PkJsonField}},data) {
export function del{{.ClassName}}(data) {
return request({
url: '/api/v1/{{.ModuleName}}/' + {{.PkJsonField}},
url: '/api/v1/{{.ModuleName}}',
method: 'delete',
data: data
})