style: 修改codegen命名
This commit is contained in:
@@ -2,14 +2,14 @@ import request from '@/utils/request'
|
||||
// code to web
|
||||
export function codeToWeb() {
|
||||
return request({
|
||||
url: 'code-gun/code-build-web',
|
||||
url: 'code-gen/code-build-web',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
// code to web
|
||||
export function webToCode(ids) {
|
||||
return request({
|
||||
url: 'code-gun/web-build-code',
|
||||
url: 'code-gen/web-build-code',
|
||||
method: 'post',
|
||||
data:ids
|
||||
})
|
||||
@@ -18,7 +18,7 @@ export function webToCode(ids) {
|
||||
// open zhe path
|
||||
export function openPath(path) {
|
||||
return request({
|
||||
url: `code-gun/dir/${encodeURIComponent(path)}`,
|
||||
url: `code-gen/dir/${encodeURIComponent(path)}`,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user