f8d8cc89 by lxs

专区域名修改

1 parent eeb61726
1 # 页面标题 1 # 页面标题
2 VITE_APP_TITLE = 数据资产管理系统 2 VITE_APP_TITLE = 数据资产管理系统
3 # 接口域名 3 # 接口域名
4 VITE_API_BASEURL = https://zq-zcgl.zgsjzc.com/ 4 VITE_API_BASEURL = https://sz-zcgl.zgsjzc.com/
5 # VITE_API_BASEURL = http://49.4.26.201:31709/ 5 # VITE_API_BASEURL = http://49.4.26.201:31709/
6 6
7 VITE_IDASS_BASEURL = https://zq.zgsjzc.com/portalLogin 7 VITE_IDASS_BASEURL = https://sz.zgsjzc.com/portalLogin
8 8
9 # 平台用户 接口请地址 9 # 平台用户 接口请地址
10 VITE_APP_USER_API_BASEURL = gateway-server 10 VITE_APP_USER_API_BASEURL = gateway-server
...@@ -28,7 +28,7 @@ VITE_OPEN_PROXY = true ...@@ -28,7 +28,7 @@ VITE_OPEN_PROXY = true
28 VITE_SERVE_BASE = / 28 VITE_SERVE_BASE = /
29 29
30 # 流程设计访问地址 30 # 流程设计访问地址
31 VITE_BPMN_URL = https://zq-workflow.csbr.cn 31 VITE_BPMN_URL = https://sz-workflow.csbr.cn
32 32
33 #流程服务 33 #流程服务
34 VITE_APP_WORK_FLOW_URL = 'ms-daop-workflow-service' 34 VITE_APP_WORK_FLOW_URL = 'ms-daop-workflow-service'
...@@ -78,9 +78,9 @@ VITE_API_MESSAGE = ms-daop-message-service ...@@ -78,9 +78,9 @@ VITE_API_MESSAGE = ms-daop-message-service
78 VITE_APP_PERSONAL_URL = ms-daop-personel-service 78 VITE_APP_PERSONAL_URL = ms-daop-personel-service
79 79
80 #流通平台接口地址 80 #流通平台接口地址
81 VITE_APP_CIRCULATION = https://zq-lt.zgsjzc.com/ 81 VITE_APP_CIRCULATION = https://sz-lt.zgsjzc.com/
82 #数据加工交付 82 #数据加工交付
83 VITE_APP_DATA_DELIVERY = https://zq-jgjf.zgsjzc.com/ 83 VITE_APP_DATA_DELIVERY = https://sz-jgjf.zgsjzc.com/
84 84
85 # 是否在打包时生成 sourcemap 85 # 是否在打包时生成 sourcemap
86 VITE_BUILD_SOURCEMAP = false 86 VITE_BUILD_SOURCEMAP = false
......
...@@ -43,7 +43,7 @@ server { ...@@ -43,7 +43,7 @@ server {
43 43
44 # 使用 rewrite 将 /api 替换为 /new-api 44 # 使用 rewrite 将 /api 替换为 /new-api
45 rewrite ^/api/(.*)$ /$1 break; 45 rewrite ^/api/(.*)$ /$1 break;
46 proxy_pass https://zq-zcgl.zgsjzc.com; 46 proxy_pass https://sz-zcgl.zgsjzc.com;
47 } 47 }
48 48
49 location /circulation { 49 location /circulation {
...@@ -61,7 +61,7 @@ server { ...@@ -61,7 +61,7 @@ server {
61 61
62 # 使用 rewrite 将 /circulation 替换为 /new-api 62 # 使用 rewrite 将 /circulation 替换为 /new-api
63 rewrite ^/circulation/(.*)$ /$1 break; 63 rewrite ^/circulation/(.*)$ /$1 break;
64 proxy_pass https://zq-lt.zgsjzc.com; 64 proxy_pass https://sz-lt.zgsjzc.com;
65 } 65 }
66 location /delivery { 66 location /delivery {
67 # 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问 67 # 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问
...@@ -78,7 +78,7 @@ server { ...@@ -78,7 +78,7 @@ server {
78 78
79 # 使用 rewrite 将 /circulation 替换为 /new-api 79 # 使用 rewrite 将 /circulation 替换为 /new-api
80 rewrite ^/delivery/(.*)$ /$1 break; 80 rewrite ^/delivery/(.*)$ /$1 break;
81 proxy_pass https://zq-jgjf.zgsjzc.com; 81 proxy_pass https://sz-jgjf.zgsjzc.com;
82 } 82 }
83 83
84 error_page 500 502 503 504 /50x.html; 84 error_page 500 502 503 504 /50x.html;
......
...@@ -456,21 +456,21 @@ export const saveDamContract = (params) => request({ ...@@ -456,21 +456,21 @@ export const saveDamContract = (params) => request({
456 url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-contract/save`, 456 url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-contract/save`,
457 method: 'post', 457 method: 'post',
458 data: params 458 data: params
459 }) 459 })
460 460
461 /** 更新合同 */ 461 /** 更新合同 */
462 export const updateDamContract = (params) => request({ 462 export const updateDamContract = (params) => request({
463 url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-contract/update`, 463 url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-contract/update`,
464 method: 'put', 464 method: 'put',
465 data: params 465 data: params
466 }) 466 })
467 467
468 /** 删除合同 */ 468 /** 删除合同 */
469 export const delDamContract = (params) => request({ 469 export const delDamContract = (params) => request({
470 url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-contract/delete`, 470 url: `${import.meta.env.VITE_API_NEW_PORTAL}/dam-contract/delete`,
471 method: 'delete', 471 method: 'delete',
472 data: params 472 data: params
473 }) 473 })
474 474
475 /** 获取会员列表 */ 475 /** 获取会员列表 */
476 export const getTenantList = (params) => request({ 476 export const getTenantList = (params) => request({
...@@ -498,14 +498,14 @@ export const getApiDetail = (params) => request({ ...@@ -498,14 +498,14 @@ export const getApiDetail = (params) => request({
498 // url:`${import.meta.env.VITE_APP_SERVICE_BASEURL}/api-base-info/detail`, 498 // url:`${import.meta.env.VITE_APP_SERVICE_BASEURL}/api-base-info/detail`,
499 // url: `http://localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`, 499 // url: `http://localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`,
500 // url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/api-base-info/detail/${params}`, 500 // url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/api-base-info/detail/${params}`,
501 url: `https://zq-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/api-base-info/detail/${params}`, 501 url: `https://sz-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/api-base-info/detail/${params}`,
502 method: 'get', 502 method: 'get',
503 }) 503 })
504 504
505 // 跨服务调加工交付接口 获取API调用次数 505 // 跨服务调加工交付接口 获取API调用次数
506 export const getApiInvokeCount = (data) => request({ 506 export const getApiInvokeCount = (data) => request({
507 // url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, 507 // url: `http://localhost:9000/delivery/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`,
508 url: `https://zq-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`, 508 url: `https://sz-zcgl.zgsjzc.com/delivery/api/ms-daop-jgjf-data-open-service/home-page/dam/call-api-stat`,
509 method: 'post', 509 method: 'post',
510 data 510 data
511 }) 511 })
......
...@@ -93,7 +93,7 @@ export const getProduct = (params) => request({ ...@@ -93,7 +93,7 @@ export const getProduct = (params) => request({
93 export const getTenantInfo = (params) => request({ 93 export const getTenantInfo = (params) => request({
94 // url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/getByGuid/${params}`, 94 // url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/getByGuid/${params}`,
95 // url: `http://localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`, 95 // url: `http://localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`,
96 url: `https://zq-zcgl.zgsjzc.com/circulation/api/ms-data-circulation-portal-service/enterprise/detail-by-name`, 96 url: `https://sz-zcgl.zgsjzc.com/circulation/api/ms-data-circulation-portal-service/enterprise/detail-by-name`,
97 method: 'get', 97 method: 'get',
98 params 98 params
99 }) 99 })
......
...@@ -159,7 +159,7 @@ const pageChange = (info) => { ...@@ -159,7 +159,7 @@ const pageChange = (info) => {
159 159
160 const messageJump = (item) => { 160 const messageJump = (item) => {
161 if (!item.jumpUrl || item.jumpUrl == '/') { 161 if (!item.jumpUrl || item.jumpUrl == '/') {
162 return;//不跳转 162 return;//不跳转
163 } 163 }
164 if (item.jumpUrl.startsWith('/data-finance/financial-Match?')) { 164 if (item.jumpUrl.startsWith('/data-finance/financial-Match?')) {
165 let index = item.jumpUrl.indexOf("?"); 165 let index = item.jumpUrl.indexOf("?");
...@@ -276,8 +276,8 @@ const messageAllRead = () => { ...@@ -276,8 +276,8 @@ const messageAllRead = () => {
276 const createServerConnect = () => { 276 const createServerConnect = () => {
277 let websocketUrl = 'ws://192.168.6.20:39203'; 277 let websocketUrl = 'ws://192.168.6.20:39203';
278 //测试环境 278 //测试环境
279 if (location.origin == 'https://zq-zcgl.zgsjzc.com') { 279 if (location.origin == 'https://sz-zcgl.zgsjzc.com') {
280 websocketUrl = 'wss://zq-zcgl.zgsjzc.com/websocket' 280 websocketUrl = 'wss://sz-zcgl.zgsjzc.com/websocket'
281 } else if (location.origin == 'https://daop-zcgl-test.zgsjzc.com') { 281 } else if (location.origin == 'https://daop-zcgl-test.zgsjzc.com') {
282 websocketUrl = 'wss://daop-zcgl-test.zgsjzc.com/websocket' 282 websocketUrl = 'wss://daop-zcgl-test.zgsjzc.com/websocket'
283 } 283 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!