修改请求地址

This commit is contained in:
WenC 2024-04-26 10:10:41 +08:00
parent 8e8007f570
commit 7b235f33fd

View File

@ -3,13 +3,13 @@ import type {MessageInstance} from "antd/es/message/interface";
export const Axios = axios;
// axios.defaults.baseURL = 'http://127.0.0.1:7025/copyright';
axios.defaults.baseURL = '/copyright';
// export const WebSocketBaseUrl: string = 'ws://127.0.0.1:7025/copyright';
export const WebSocketBaseUrl: string = '/copyright';
// export const DevUserId: string = '80d3365e-0597-4988-979e-18ef1c3ec671'; // 18634604067
axios.defaults.baseURL = 'http://192.168.0.163:7025/copyright';
// axios.defaults.baseURL = '/copyright';
export const WebSocketBaseUrl: string = 'ws://192.168.0.163:7025/copyright';
// export const WebSocketBaseUrl: string = '/copyright';
export const DevUserId: string = '80d3365e-0597-4988-979e-18ef1c3ec671'; // 18634604067
// export const DevUserId: string = 'c2438eb8-2685-49a9-bf02-5111a5192d96'; // 18647109157
export const DevUserId: string = '';
// export const DevUserId: string = '';
type Req<T> = {
messageApi: MessageInstance;