028d237e by lihua

修改appkey接口

1 parent 0f95e2c1
...@@ -29,11 +29,11 @@ server { ...@@ -29,11 +29,11 @@ server {
29 # idaas api 29 # idaas api
30 location /idaas/ { 30 location /idaas/ {
31 # resolver 169.254.25.10 valid=30s; 31 # resolver 169.254.25.10 valid=30s;
32 # proxy_set_header Host $host; 32 proxy_set_header Host $host;
33 # proxy_set_header X-Real-IP $remote_addr; 33 proxy_set_header X-Real-IP $remote_addr;
34 # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 34 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
35 # proxy_set_header X-Forwarded-Proto $scheme; 35 proxy_set_header X-Forwarded-Proto $scheme;
36 # proxy_set_header X-Forwarded-Port $server_port; 36 proxy_set_header X-Forwarded-Port $server_port;
37 37
38 proxy_pass http://121.237.182.65:30390/; # 门户idaas http测试环境 38 proxy_pass http://121.237.182.65:30390/; # 门户idaas http测试环境
39 } 39 }
......
...@@ -3,7 +3,7 @@ import request from "@/utils/request"; ...@@ -3,7 +3,7 @@ import request from "@/utils/request";
3 /** 获取appKey */ 3 /** 获取appKey */
4 export const getAppKey = () => { 4 export const getAppKey = () => {
5 return request({ 5 return request({
6 url: `${import.meta.env.VITE_APP_USER_API_BASEURL}/staff/getAppKey`, 6 url: `${import.meta.env.VITE_APP_USER_API_BASEURL}/staff/get-app-key`,
7 method: "get", 7 method: "get",
8 }); 8 });
9 }; 9 };
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!