style: 修改codegen命名

This commit is contained in:
橙子
2024-02-16 21:06:34 +08:00
parent 6675376241
commit 3f1f76b2e8
50 changed files with 141 additions and 143 deletions

View File

@@ -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'
})
}