@dazhicheng/common 1.0.30 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.dev CHANGED
@@ -13,4 +13,4 @@ VITE_DROP_CONSOLE = true
13
13
  # VITE_FEISHU_REDIRECT_URI = http://fulfillment-qd.tiantai-jp.com:13006/feishuOAuth
14
14
 
15
15
  # webSocket地址
16
- VITE_WEBSOCKET_URL = ws://192.168.128.215:11000
16
+ VITE_WEBSOCKET_URL = ws://fulfillment-dev.tiantai-jp.com:11000
package/.env.development CHANGED
@@ -8,19 +8,11 @@ VITE_API_URL = dev
8
8
  VITE_MOCK_ENABLED = true
9
9
 
10
10
  # 代理目标地址(开发环境通过 Vite 代理转发请求到此地址,解决跨域问题)
11
- VITE_API_PROXY_URL = https://m1.apifoxmock.com/m1/6400575-6097373-default
12
-
13
- VITE_API_PROXY_URL_dev = http://192.168.128.215:11000
14
- VITE_API_MOCK = http://192.168.129.158:9998/mock/
15
- VITE_API_PROXY_URL_test = http://192.168.127.72:11000/
16
-
17
- # 公网
18
- VITE_API_PROXY_URL_DEV_DOMAIN = http://14.220.235.21:11000/
19
- VITE_API_PROXY_URL_TEST_GW = http://116.6.49.180:11001/
20
11
 
21
12
  # 域名
22
- VITE_API_PROXY_URL_DEV_DOMAIN = http://fulfillment-dev.tiantai-jp.com:11000/
23
- VITE_API_PROXY_URL_TEST_DOMAIN = http://fulfillment-test.tiantai-jp.com:11000/
13
+ VITE_API_PROXY_URL_DEV = http://fulfillment-dev.tiantai-jp.com:11000/
14
+ VITE_API_PROXY_URL_TEST = http://fulfillment-test.tiantai-jp.com:11000/
15
+
24
16
 
25
17
  <<<VITE_API_PROXY_URL>>>
26
18
 
@@ -31,4 +23,4 @@ VITE_DROP_CONSOLE = false
31
23
  # VITE_FEISHU_REDIRECT_URI = http://120.76.61.203:13006/feishuOAuth
32
24
 
33
25
  # webSocket地址
34
- VITE_WEBSOCKET_URL = ws://192.168.128.215:11000
26
+ VITE_WEBSOCKET_URL = ws://fulfillment-dev.tiantai-jp.com:11000
package/Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- FROM nginx:stable-alpine
2
+ FROM nginx:stable
3
3
  ARG NODE_ENV=dev
4
4
  COPY "nginx_${NODE_ENV}.conf" /etc/nginx/conf.d/default.conf
5
5
  COPY dist/ /usr/share/nginx/html
package/nginx_dev.conf CHANGED
@@ -7,8 +7,11 @@ log_format proxy_log
7
7
 
8
8
  # 根据请求IP分配后端地址(公网IP走公网,默认走内网)
9
9
  map $host $dev_backend_addr {
10
- default 192.168.128.215:11000; # 默认走内网
11
- 120.76.61.203 14.220.235.0:11000; # 公网IP走公网
10
+ # fulfillment-dev.tiantai-jp.com -> 192.168.128.215
11
+ default fulfillment-dev.tiantai-jp.com:11000; # 默认走内网
12
+ # ly-dev.tiantai-jp.com -> 14.127.204.225
13
+ #
14
+ 120.76.61.203 ly-dev.tiantai-jp.com:11000; # 公网IP走公网
12
15
  }
13
16
 
14
17
  # HTTP 服务器 - 保持原有配置
package/nginx_test.conf CHANGED
@@ -7,8 +7,10 @@ log_format proxy_log
7
7
 
8
8
  # 根据请求IP分配后端地址(公网IP走公网,默认走内网)
9
9
  map $host $test_backend_addr {
10
- default 192.168.127.73:11000; # 默认走内网
11
- 120.76.61.203 116.6.49.180:11001; # 公网IP走公网
10
+ # fulfillment-test.tiantai-jp.com -> 192.168.127.73
11
+ default fulfillment-test.tiantai-jp.com:11000; # 默认走内网
12
+ # ly-test.tiantai-jp.com -> 116.6.49.180
13
+ 120.76.61.203 ly-test.tiantai-jp.com:11000; # 公网IP走公网
12
14
  }
13
15
 
14
16
  # HTTP 服务器 - 保持原有配置
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/common",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "共享配置文件",
5
5
  "type": "module",
6
6
  "types": "./src/types/index.d.ts",