22
This commit is contained in:
@@ -56,4 +56,4 @@
|
|||||||
"webpack-bundle-analyzer": "^3.8.0",
|
"webpack-bundle-analyzer": "^3.8.0",
|
||||||
"yamljs": "^0.3.0"
|
"yamljs": "^0.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -21,28 +21,28 @@ export class ConfigureConfig {
|
|||||||
ProdUrl: string,
|
ProdUrl: string,
|
||||||
ApiList: { [key: string]: string }
|
ApiList: { [key: string]: string }
|
||||||
} = {
|
} = {
|
||||||
DevUrl: 'http://127.0.0.1:8080',
|
DevUrl: 'http://127.0.0.1:8080',
|
||||||
ProdUrl: 'http://127.0.0.1:9090/api',
|
ProdUrl: 'http://127.0.0.1:9090/api',
|
||||||
ApiList: {
|
ApiList: {
|
||||||
// start - 下面 注释内的各个对象key 将被Nodejs实时监听,获取你key改动(增删改)后,将同步
|
// start - 下面 注释内的各个对象key 将被Nodejs实时监听,获取你key改动(增删改)后,将同步
|
||||||
// start - 自动生成接口请求中间层的文件和文件内部的代码。
|
// start - 自动生成接口请求中间层的文件和文件内部的代码。
|
||||||
// start - 注意 下面 被注释的key 将不会生成文件或代码
|
// start - 注意 下面 被注释的key 将不会生成文件或代码
|
||||||
|
|
||||||
// UserList: '/UserList',
|
// UserList: '/UserList',
|
||||||
// User_IndexTest: '/test',
|
// User_IndexTest: '/test',
|
||||||
Car_carList: '/test',
|
Car_carList: '/test',
|
||||||
// Car_addCar: '/test',
|
Car_addCar: '/test',
|
||||||
|
|
||||||
Index_reg: '/reg',
|
Index_reg: '/reg',
|
||||||
Index_login: '/login',
|
Index_login: '/login',
|
||||||
|
|
||||||
Order_test: '/test',
|
Order_test: '/test',
|
||||||
|
|
||||||
// end - 上面 注释内的各个对象key 将被Nodejs实时监听,获取你key改动(增删改)后,将同步
|
// end - 上面 注释内的各个对象key 将被Nodejs实时监听,获取你key改动(增删改)后,将同步
|
||||||
// end - 自动生成接口请求中间层的文件和文件内部的代码。
|
// end - 自动生成接口请求中间层的文件和文件内部的代码。
|
||||||
// end - 注意 上面 被注释的key 将不会生成文件或代码
|
// end - 注意 上面 被注释的key 将不会生成文件或代码
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Vue 插件
|
* Vue 插件
|
||||||
|
|||||||
@@ -14,4 +14,8 @@ export class CarService {
|
|||||||
@Mapper(ResponseType)
|
@Mapper(ResponseType)
|
||||||
public async carList (params: object): Promise<ResponseType[]> {}
|
public async carList (params: object): Promise<ResponseType[]> {}
|
||||||
|
|
||||||
|
@GET()
|
||||||
|
@Mapper(ResponseType)
|
||||||
|
public async addCar (params: object): Promise<ResponseType[]> {}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user