|
|
@@ -80,12 +80,12 @@ export const getUplodaUrl = (): string => {
|
|
|
|
|
|
export const setServiceURL = (config: URL): void => {
|
|
|
// console.log('URL', config);
|
|
|
- //外网环境(175),外包同事使用
|
|
|
+ // 外网环境,外包同事使用
|
|
|
serviceURL = config;
|
|
|
- // if (process.env.NODE_ENV === 'development') {
|
|
|
- // serviceURL.goCommonSearchUrl = 'http://218.17.158.45:21001/api';
|
|
|
- // serviceURL.quoteUrl = 'ws://218.17.158.45:21004';
|
|
|
- // serviceURL.tradeUrl = 'ws://218.17.158.45:21005';
|
|
|
- // }
|
|
|
+ if (process.env.NODE_ENV === 'development') {
|
|
|
+ serviceURL.goCommonSearchUrl = 'http://218.17.158.45:22003/api';
|
|
|
+ serviceURL.quoteUrl = 'ws://218.17.158.45:22008';
|
|
|
+ serviceURL.tradeUrl = 'ws://218.17.158.45:22009';
|
|
|
+ }
|
|
|
console.log('api地址:', serviceURL);
|
|
|
};
|