--no commit message
Showing
1 changed file
with
2 additions
and
33 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | <<<<<<< HEAD | ||
| 5 | * @LastEditTime: 2023-05-31 16:04:35 | ||
| 6 | ======= | ||
| 7 | <<<<<<< HEAD | ||
| 8 | * @LastEditTime: 2023-05-30 15:08:51 | 4 | * @LastEditTime: 2023-05-30 15:08:51 |
| 9 | ======= | ||
| 10 | * @LastEditTime: 2023-05-26 16:57:47 | ||
| 11 | >>>>>>> origin/dev | ||
| 12 | >>>>>>> bus | ||
| 13 | --> | 5 | --> |
| 14 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
| 15 | <html> | 7 | <html> |
| ... | @@ -26,31 +18,8 @@ | ... | @@ -26,31 +18,8 @@ |
| 26 | </title> | 18 | </title> |
| 27 | </head> | 19 | </head> |
| 28 | <script> | 20 | <script> |
| 29 | <<<<<<< HEAD | ||
| 30 | window.baseUrl = location.origin || location.protocol + '//' + location.host | ||
| 31 | ======= | ||
| 32 | <<<<<<< HEAD | ||
| 33 | window.baseUrl = location.origin || location.protocol + '//' + location.host | 21 | window.baseUrl = location.origin || location.protocol + '//' + location.host |
| 34 | const authorization = "bearer ATT-7-TiYJVcoDnfhNGs160E6MbQ-QA9Ot3Tby" | 22 | const authorization = "bearer ATT-7-TiYJVcoDnfhNGs160E6MbQ-QA9Ot3Tby" |
| 35 | ======= | ||
| 36 | >>>>>>> bus | ||
| 37 | window._config = { | ||
| 38 | // 是否微服务模式,业务系统根据需要读取 | ||
| 39 | cloudEnable: false, | ||
| 40 | // 是否启用单点登录 | ||
| 41 | casEnable: true, | ||
| 42 | // cas 基地址 | ||
| 43 | casBaseURL: 'http://192.168.2.38/cas', | ||
| 44 | services: { | ||
| 45 | // 配置到 contextPath 前一级 | ||
| 46 | management: 'http://192.168.2.38', | ||
| 47 | business: 'http://localhost:7001' | ||
| 48 | } | ||
| 49 | } | ||
| 50 | <<<<<<< HEAD | ||
| 51 | ======= | ||
| 52 | >>>>>>> origin/dev | ||
| 53 | >>>>>>> bus | ||
| 54 | fetch('<%= BASE_URL %>config.json') | 23 | fetch('<%= BASE_URL %>config.json') |
| 55 | .then(response => response.json()) | 24 | .then(response => response.json()) |
| 56 | .then(config => { | 25 | .then(config => { |
| ... | @@ -62,4 +31,4 @@ | ... | @@ -62,4 +31,4 @@ |
| 62 | <div id="app"></div> | 31 | <div id="app"></div> |
| 63 | </body> | 32 | </body> |
| 64 | 33 | ||
| 65 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 34 | </html> | ... | ... |
-
Please register or sign in to post a comment