访问流通平台
Showing
4 changed files
with
4 additions
and
4 deletions
| ... | @@ -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 | ... | ... |
| ... | @@ -117,7 +117,7 @@ VITE_API_MESSAGE = ms-daop-message-service | ... | @@ -117,7 +117,7 @@ VITE_API_MESSAGE = ms-daop-message-service |
| 117 | VITE_APP_PERSONAL_URL = ms-daop-personel-service | 117 | VITE_APP_PERSONAL_URL = ms-daop-personel-service |
| 118 | 118 | ||
| 119 | #流通平台接口地址 | 119 | #流通平台接口地址 |
| 120 | VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/api/ | 120 | VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/ |
| 121 | #数据加工交付 | 121 | #数据加工交付 |
| 122 | VITE_APP_DATA_DELIVERY = https://daop-jgjf-test.zgsjzc.com/ | 122 | VITE_APP_DATA_DELIVERY = https://daop-jgjf-test.zgsjzc.com/ |
| 123 | 123 | ... | ... |
| ... | @@ -60,7 +60,7 @@ server { | ... | @@ -60,7 +60,7 @@ server { |
| 60 | add_header Cache-Control private; | 60 | add_header Cache-Control private; |
| 61 | 61 | ||
| 62 | # 使用 rewrite 将 /circulation 替换为 /new-api | 62 | # 使用 rewrite 将 /circulation 替换为 /new-api |
| 63 | rewrite ^/api/(.*)$ /$1 break; | 63 | rewrite ^/circulation/(.*)$ /$1 break; |
| 64 | proxy_pass https://daop-lt-test.zgsjzc.com; | 64 | proxy_pass https://daop-lt-test.zgsjzc.com; |
| 65 | } | 65 | } |
| 66 | location /delivery { | 66 | location /delivery { | ... | ... |
| ... | @@ -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-zcgl-test.zgsjzc.com/circulation/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 | }) | ... | ... |
-
Please register or sign in to post a comment