10.18 代码提交

agv_main
zz 1 month ago
parent abbf0fa3a7
commit 3ded4b5b93

@ -2,8 +2,9 @@
ENV = development
# 本地环境接口地址
VITE_API_URL = http://192.168.2.16:5034
VITE_API_URL = http://192.168.2.14:5034
# VITE_API_URL = http://192.168.2.16:5034
# VITE_API_URL = http://192.168.2.15:5034
# VITE_API_URL = http://gvc7ew.natappfree.cc
# VITE_API_URL = http://192.168.2.17:5034
# VITE_API_URL = http://192.168.2.33:5034
# VITE_API_URL = http://192.168.2.143:5034

@ -2,4 +2,4 @@
ENV = production
# 线上环境接口地址
VITE_API_URL = http://localhost:5034
VITE_API_URL = http://192.168.2.14:5034

@ -12,7 +12,7 @@ if exist %apiServicesPath% (
echo ================================ 开始生成 api-services ================================
java -jar %dir%swagger-codegen-cli.jar generate -i http://localhost:5005/swagger/All%%20Groups/swagger.json -l typescript-axios -o %apiServicesPath%
java -jar %dir%swagger-codegen-cli.jar generate -i http://192.168.2.14:5005/swagger/All%%20Groups/swagger.json -l typescript-axios -o %apiServicesPath%
@rem 删除不必要的文件和文件夹
rd /s /q %apiServicesPath%.swagger-codegen

@ -201,7 +201,7 @@ export const SysEmeterRealEnergyApiFp = function (configuration?: Configuration)
*/
async apiBatchDeleteTEgEmeterRealEnergyValuePost(body?: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysEmeterRealEnergyApiAxiosParamCreator(configuration).apiBatchDeleteTEgEmeterRealEnergyValuePost(body, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };

@ -503,7 +503,7 @@ export const SysEmeterTotalEnergyApiFp = function (configuration?: Configuration
*/
async apiBatchDeleteTEgEmeterTotalEnergyValuePost(body?: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysEmeterTotalEnergyApiAxiosParamCreator(configuration).apiBatchDeleteTEgEmeterTotalEnergyValuePost(body, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };

@ -1050,7 +1050,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
*/
async apiSendPowerRegulationGet(code: string, power: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSendPowerRegulationGet(code, power, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1082,7 +1082,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
*/
async apiGetChargerInfoListGET(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetChargerInfoListGET(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1113,7 +1113,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
*/
async apiSetStartChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetStartChargeByBinNoGet(binNo, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1129,7 +1129,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
*/
async apiSetStopChargeByBinNoGet(binNo: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiSetStopChargeByBinNoGet(binNo, options);
const second_url = 'http://192.168.2.146:5034'
const second_url = 'http://localhost6:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1160,7 +1160,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
*/
async apiDistributeElecPriceForChargeGet(ceid: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiDistributeElecPriceForChargeGet(ceid, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1176,7 +1176,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
*/
async apiChargerSendAuthGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiChargerSendAuthGet(code, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1193,7 +1193,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
async apiGetBattPerStatusCountGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetBattPerStatusCountGet(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1210,7 +1210,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
async apiBatteryStatusInfoGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiBatteryStatusInfoGet(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };
@ -1227,7 +1227,7 @@ export const SysHomePageApiFp = function (configuration?: Configuration) {
async apiGetChargMonitorChargBinData(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysHomePageApiAxiosParamCreator(configuration).apiGetChargMonitorChargBinData(options);
const second_url = 'http://192.168.2.14:5035'
const second_url = 'http://localhost:5035'
return (axios: AxiosInstance = globalAxios, basePath: string = second_url) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: second_url + localVarAxiosArgs.url };

@ -231,7 +231,7 @@ export const SysRepairedInfoApiFp = function (configuration?: Configuration) {
*/
async apiSwapOrderQueryPagePost(body?: PageReplaceLogInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysRepairedInfoApiAxiosParamCreator(configuration).apiSwapOrderQueryPagePost(body, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -248,7 +248,7 @@ export const SysRepairedInfoApiFp = function (configuration?: Configuration) {
*/
async apiSysReplaceLogUpdatePost(body?: UpdateReplaceLogInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysRepairedInfoApiAxiosParamCreator(configuration).apiSysReplaceLogUpdatePost(body, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -264,7 +264,7 @@ export const SysRepairedInfoApiFp = function (configuration?: Configuration) {
*/
// async apiSysReplaceLogDeleteByIdsPost(body?: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
// const localVarAxiosArgs = await SysRepairedInfoApiAxiosParamCreator(configuration).apiSysReplaceLogDeleteByIdsPost(body, options);
// const second_url = 'http://192.168.2.14:5034'
// const second_url = 'http://localhost:5034'
// return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
// const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -280,7 +280,7 @@ export const SysRepairedInfoApiFp = function (configuration?: Configuration) {
*/
async apiUploadCloudGet(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysRepairedInfoApiAxiosParamCreator(configuration).apiUploadCloudGet(id, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };

@ -1540,7 +1540,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiGetSwapAndChargingCountPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiGetSwapAndChargingCountPost(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1555,7 +1555,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiLockResetPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiLockResetPost(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1570,7 +1570,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiSetSwapModelPost(swapModel: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiSetSwapModelPost(swapModel, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1599,7 +1599,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiSetSwapWayPost(swapWay: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiSetSwapWayPost(swapWay, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1675,7 +1675,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiSwapResetPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiSwapResetPost(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1690,7 +1690,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiOperateOutstationLampPost(lampCmd: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiOperateOutstationLampPost(lampCmd, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1721,7 +1721,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiManualSwapStatusPost(swapNo: string, status: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiManualSwapStatusPost(swapNo, status, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1737,7 +1737,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiManualSwappingPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiManualSwappingPost(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -1753,7 +1753,7 @@ export const SysSwapMoinitorApiFp = function (configuration?: Configuration) {
*/
async apiAutoSwappingPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysSwapMonitorApiAxiosParamCreator(configuration).apiAutoSwappingPost(options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };

@ -231,7 +231,7 @@ export const SysUnRepairInfoApiFp = function (configuration?: Configuration) {
*/
async apiSwapOrderQueryPagePost(body?: PageReplaceLogInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysUnRepairInfoApiAxiosParamCreator(configuration).apiSwapOrderQueryPagePost(body, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -248,7 +248,7 @@ export const SysUnRepairInfoApiFp = function (configuration?: Configuration) {
*/
async apiSysReplaceLogUpdatePost(body?: UpdateReplaceLogInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysUnRepairInfoApiAxiosParamCreator(configuration).apiSysReplaceLogUpdatePost(body, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -264,7 +264,7 @@ export const SysUnRepairInfoApiFp = function (configuration?: Configuration) {
*/
// async apiSysReplaceLogDeleteByIdsPost(body?: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
// const localVarAxiosArgs = await SysUnRepairInfoApiAxiosParamCreator(configuration).apiSysReplaceLogDeleteByIdsPost(body, options);
// const second_url = 'http://192.168.2.14:5034'
// const second_url = 'http://localhost:5034'
// return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
// const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };
@ -280,7 +280,7 @@ export const SysUnRepairInfoApiFp = function (configuration?: Configuration) {
*/
async apiUploadCloudGet(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysUser>>> {
const localVarAxiosArgs = await SysUnRepairInfoApiAxiosParamCreator(configuration).apiUploadCloudGet(id, options);
const second_url = 'http://192.168.2.14:5034'
const second_url = 'http://localhost:5034'
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url };

@ -477,7 +477,7 @@ onBeforeUnmount(() => {
connection.stop();
});
//
const connection = new signalR.HubConnectionBuilder().withUrl('http://192.168.2.14:5034/realtime').configureLogging(signalR.LogLevel.Information).build();
const connection = new signalR.HubConnectionBuilder().withUrl('http://localhost:5034/realtime').configureLogging(signalR.LogLevel.Information).build();
async function start() {
try {

@ -256,7 +256,7 @@ const handleSignIn = () => {
// //
// const weixinSignIn = () => {
// window.open('http://192.168.2.14:5005/api/sysoauth/signin?provider=Gitee&redirectUrl=http://192.168.2.14:8888');
// window.open('http://localhost:5005/api/sysoauth/signin?provider=Gitee&redirectUrl=http://localhost:8888');
// };
//

Loading…
Cancel
Save