This commit is contained in:
编码猿
2025-12-08 16:18:25 +08:00
parent 96ebc31637
commit 78336de068
3 changed files with 23 additions and 19 deletions

View File

@@ -56,4 +56,4 @@
"webpack-bundle-analyzer": "^3.8.0",
"yamljs": "^0.3.0"
}
}
}

View File

@@ -21,28 +21,28 @@ export class ConfigureConfig {
ProdUrl: string,
ApiList: { [key: string]: string }
} = {
DevUrl: 'http://127.0.0.1:8080',
ProdUrl: 'http://127.0.0.1:9090/api',
ApiList: {
// start - 下面 注释内的各个对象key 将被Nodejs实时监听获取你key改动增删改将同步
// start - 自动生成接口请求中间层的文件和文件内部的代码。
// start - 注意 下面 被注释的key 将不会生成文件或代码
DevUrl: 'http://127.0.0.1:8080',
ProdUrl: 'http://127.0.0.1:9090/api',
ApiList: {
// start - 下面 注释内的各个对象key 将被Nodejs实时监听获取你key改动增删改将同步
// start - 自动生成接口请求中间层的文件和文件内部的代码。
// start - 注意 下面 被注释的key 将不会生成文件或代码
// UserList: '/UserList',
// User_IndexTest: '/test',
Car_carList: '/test',
// Car_addCar: '/test',
// UserList: '/UserList',
// User_IndexTest: '/test',
Car_carList: '/test',
Car_addCar: '/test',
Index_reg: '/reg',
Index_login: '/login',
Index_reg: '/reg',
Index_login: '/login',
Order_test: '/test',
Order_test: '/test',
// end - 上面 注释内的各个对象key 将被Nodejs实时监听获取你key改动增删改将同步
// end - 自动生成接口请求中间层的文件和文件内部的代码。
// end - 注意 上面 被注释的key 将不会生成文件或代码
}
};
// end - 上面 注释内的各个对象key 将被Nodejs实时监听获取你key改动增删改将同步
// end - 自动生成接口请求中间层的文件和文件内部的代码。
// end - 注意 上面 被注释的key 将不会生成文件或代码
}
};
/**
* Vue 插件

View File

@@ -14,4 +14,8 @@ export class CarService {
@Mapper(ResponseType)
public async carList (params: object): Promise<ResponseType[]> {}
@GET()
@Mapper(ResponseType)
public async addCar (params: object): Promise<ResponseType[]> {}
}