소스 검색

Merge branch 'master' of http://git.ycjcjy.com/kypay/global_funding-pc-merchant

fangmingyue 1 년 전
부모
커밋
9e0ce84fe7
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      .env
  2. 1
    0
      src/utils/request.js

+ 1
- 1
.env 파일 보기

1
-VITE_SERVER_BASE=/api
1
+VITE_SERVER_BASE=/api/admin
2
 # VITE_LOGIN_URL=http://localhost:3009/admin/
2
 # VITE_LOGIN_URL=http://localhost:3009/admin/

+ 1
- 0
src/utils/request.js 파일 보기

36
         "Content-Type": "application/json;charset=utf-8",
36
         "Content-Type": "application/json;charset=utf-8",
37
         ...headers,
37
         ...headers,
38
         Authorization: token,
38
         Authorization: token,
39
+        "x-client-type": "pc.admin",
39
       },
40
       },
40
       responseType: download ? "blob" : responseType,
41
       responseType: download ? "blob" : responseType,
41
     };
42
     };