b8ef51e6 by lxs

访问流通平台

1 parent 942b47cc
...@@ -82,7 +82,7 @@ VITE_APP_ATTACHMENT_TEMPLATE = ms-daop-personel-service ...@@ -82,7 +82,7 @@ VITE_APP_ATTACHMENT_TEMPLATE = ms-daop-personel-service
82 VITE_APP_PERSONAL_URL = 'ms-daop-personel-service' 82 VITE_APP_PERSONAL_URL = 'ms-daop-personel-service'
83 83
84 #流通平台地址 84 #流通平台地址
85 VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/api/ 85 VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/
86 # 测试环境访问地址 86 # 测试环境访问地址
87 # VITE_API_CIRCULATION_URL = http://192.168.6.22:29900/circulation 87 # VITE_API_CIRCULATION_URL = http://192.168.6.22:29900/circulation
88 88
......
...@@ -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://daop-lt-test.zgsjzc.com/api; 64 proxy_pass https://daop-lt-test.zgsjzc.com;
65 } 65 }
66 location /delivery { 66 location /delivery {
67 # 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问 67 # 设置允许跨域的域名,可以使用通配符 '*' 允许所有域访问
......
...@@ -86,7 +86,7 @@ export const getProduct = (params) => request({ ...@@ -86,7 +86,7 @@ export const getProduct = (params) => request({
86 export const getTenantInfo = (params) => request({ 86 export const getTenantInfo = (params) => request({
87 // url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/getByGuid/${params}`, 87 // url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/getByGuid/${params}`,
88 // url: `http://localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`, 88 // url: `http://localhost:9000/circulation/ms-data-circulation-portal-service/enterprise/detail-by-name`,
89 url: `https://daop-lt-test.zgsjzc.com/api/ms-data-circulation-portal-service/enterprise/detail-by-name`, 89 url: `https://daop-zcgl-test.zgsjzc.com/circulation/api/ms-data-circulation-portal-service/enterprise/detail-by-name`,
90 method: 'get', 90 method: 'get',
91 params 91 params
92 }) 92 })
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!