Commit 40bd9a34c80c720cfc63104ca04d1c8333137dcd
1 parent
8559fdd3
config(servers): 更新服务器配置中的域名地址
- 将 IoT 设备主机地址从 jichengshanshui.com.cn 更改为 fangshanparking.com - 更新应用配置中多个 API 接口的域名地址 - 修改 SSO 单点登录相关 URL 配置 - 更新微信公众号接口调用地址 - 替换资源服务器下载链接域名 - 修改生产环境社交登录回调地址 - 更新 UAA 认证服务器基础 URL - 替换 JustAuth 第三方认证源的授权地址
Showing
5 changed files
with
21 additions
and
21 deletions
urbanops-module-system/src/main/java/com/zteits/urbanops/module/system/framework/justauth/core/CustomerAuthSource.java
| ... | ... | @@ -7,23 +7,23 @@ public enum CustomerAuthSource implements AuthSource { |
| 7 | 7 | UAA { |
| 8 | 8 | @Override |
| 9 | 9 | public String authorize() { |
| 10 | -// return "https://test.jichengshanshui.com.cn:28301/oauth2/authorize"; | |
| 10 | +// return "https://test.fangshanparking.com:28301/oauth2/authorize"; | |
| 11 | 11 | // return "http://localhost:8080/oauth2/authorize"; |
| 12 | - return "https://uaa.jichengshanshui.com.cn:28201/oauth2/authorize"; | |
| 12 | + return "https://uaa.fangshanparking.com:28201/oauth2/authorize"; | |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | @Override |
| 16 | 16 | public String accessToken() { |
| 17 | -// return "https://test.jichengshanshui.com.cn:28301/oauth2/token"; | |
| 17 | +// return "https://test.fangshanparking.com:28301/oauth2/token"; | |
| 18 | 18 | // return "http://localhost:8080/oauth2/token"; |
| 19 | - return "https://uaa.jichengshanshui.com.cn:28201/oauth2/token"; | |
| 19 | + return "https://uaa.fangshanparking.com:28201/oauth2/token"; | |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | @Override |
| 23 | 23 | public String userInfo() { |
| 24 | -// return "https://test.jichengshanshui.com.cn:28301/oauth2/userinfo"; | |
| 24 | +// return "https://test.fangshanparking.com:28301/oauth2/userinfo"; | |
| 25 | 25 | // return "http://localhost:8080/oauth2/userinfo"; |
| 26 | - return "https://uaa.jichengshanshui.com.cn:28201/oauth2/userinfo"; | |
| 26 | + return "https://uaa.fangshanparking.com:28201/oauth2/userinfo"; | |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | @Override | ... | ... |
urbanops-server/src/main/resources/application-dev.yaml
| ... | ... | @@ -226,13 +226,13 @@ flow: |
| 226 | 226 | apps: |
| 227 | 227 | - appid: yl |
| 228 | 228 | secret: l6l6x8c7a4g9u0x8d6v3z1y2a2k2i7x7 |
| 229 | - url: https://yuanlin.jichengshanshui.com.cn:8987/ylapi/yuanl/quanyu/work/add | |
| 229 | + url: https://yuanlin.fangshanparking.com:8987/ylapi/yuanl/quanyu/work/add | |
| 230 | 230 | - appid: sz |
| 231 | 231 | secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9 |
| 232 | 232 | url: http://municipal.renniting.cn/prod-api/business/curingcase/issue |
| 233 | 233 | - appid: wy |
| 234 | 234 | secret: x3z7t6l2g2t2i4w3x5e2e0s5y9e6d1y3 |
| 235 | - url: https://pms.jichengshanshui.com.cn:9980/prod-api/task/third/report | |
| 235 | + url: https://pms.fangshanparking.com:9980/prod-api/task/third/report | |
| 236 | 236 | |
| 237 | 237 | # 微信公众号配置 |
| 238 | 238 | wechat: | ... | ... |
urbanops-server/src/main/resources/application-local.yaml
| ... | ... | @@ -228,24 +228,24 @@ flow: |
| 228 | 228 | apps: |
| 229 | 229 | - appid: yl |
| 230 | 230 | secret: l6l6x8c7a4g9u0x8d6v3z1y2a2k2i7x7 |
| 231 | - url: https://yuanlin.jichengshanshui.com.cn:8987/ylapi/yuanl/quanyu/work/add | |
| 231 | + url: https://yuanlin.fangshanparking.com:8987/ylapi/yuanl/quanyu/work/add | |
| 232 | 232 | - appid: sz |
| 233 | 233 | secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9 |
| 234 | 234 | url: http://municipal.renniting.cn/prod-api/business/curingcase/issue |
| 235 | 235 | - appid: wy |
| 236 | 236 | secret: x3z7t6l2g2t2i4w3x5e2e0s5y9e6d1y3 |
| 237 | - url: https://pms.jichengshanshui.com.cn:9980/prod-api/task/third/report | |
| 237 | + url: https://pms.fangshanparking.com:9980/prod-api/task/third/report | |
| 238 | 238 | sso: |
| 239 | 239 | client: |
| 240 | 240 | switchState: on |
| 241 | 241 | clientId: schoms |
| 242 | 242 | clientSecret: FVwUBd3ZCrt6mMrZ |
| 243 | 243 | # 前端授权地址 |
| 244 | - authorizeUrl: https://giomp.jichengshanshui.com.cn:28205/authorize | |
| 244 | + authorizeUrl: https://giomp.fangshanparking.com:28205/authorize | |
| 245 | 245 | # sso 服务地址 |
| 246 | - baseUrl: https://uaa.jichengshanshui.com.cn:28201 | |
| 246 | + baseUrl: https://uaa.fangshanparking.com:28201 | |
| 247 | 247 | # 登录成功后跳转地址 |
| 248 | - redirectUri: https://giomp.jichengshanshui.com.cn:28205/prod-api/admin-api/sso/callback | |
| 248 | + redirectUri: https://giomp.fangshanparking.com:28205/prod-api/admin-api/sso/callback | |
| 249 | 249 | # 微信公众号配置 |
| 250 | 250 | wechat: |
| 251 | 251 | mp: |
| ... | ... | @@ -263,7 +263,7 @@ wechat: |
| 263 | 263 | tokenUrl: https://api.weixin.qq.com/cgi-bin/stable_token |
| 264 | 264 | sendUrl: https://api.weixin.qq.com/cgi-bin/message/template/send |
| 265 | 265 | siot: |
| 266 | - roadUrl: https://iot.jichengshanshui.com.cn:28202/prod-api/fence/fenceInfo/getFenceRoadListByLocation | |
| 266 | + roadUrl: https://iot.fangshanparking.com:28202/prod-api/fence/fenceInfo/getFenceRoadListByLocation | |
| 267 | 267 | |
| 268 | 268 | # 高德地图配置 |
| 269 | 269 | amap: |
| ... | ... | @@ -281,4 +281,4 @@ static: |
| 281 | 281 | resource: |
| 282 | 282 | server: |
| 283 | 283 | enable: true |
| 284 | - url: https://test.jichengshanshui.com.cn:28302/downloads/ | |
| 284 | + url: https://test.fangshanparking.com:28302/downloads/ | ... | ... |
urbanops-server/src/main/resources/application-prod.yaml
| ... | ... | @@ -231,7 +231,7 @@ justauth: |
| 231 | 231 | UAA: |
| 232 | 232 | client-id: schoms |
| 233 | 233 | client-secret: FVwUBd3ZCrt6mMrZ |
| 234 | - redirect-uri: https://giomp.jichengshanshui.com.cn:4080/social-login?type=35 | |
| 234 | + redirect-uri: https://giomp.fangshanparking.com:4080/social-login?type=35 | |
| 235 | 235 | ignore-check-redirect-uri: true |
| 236 | 236 | cache: |
| 237 | 237 | type: REDIS |
| ... | ... | @@ -247,7 +247,7 @@ sso: |
| 247 | 247 | # 前端授权地址(改为justauth,不再这儿配置) |
| 248 | 248 | authorizeUrl: |
| 249 | 249 | # sso 服务地址 |
| 250 | - baseUrl: https://uaa.jichengshanshui.com.cn:28201 | |
| 250 | + baseUrl: https://uaa.fangshanparking.com:28201 | |
| 251 | 251 | # 登录成功后跳转地址 (改为justauth,不再这儿配置) |
| 252 | 252 | redirectUri: |
| 253 | 253 | cache: |
| ... | ... | @@ -268,13 +268,13 @@ flow: |
| 268 | 268 | apps: |
| 269 | 269 | - appid: yl |
| 270 | 270 | secret: l6l6x8c7a4g9u0x8d6v3z1y2a2k2i7x7 |
| 271 | - url: https://yuanlin.jichengshanshui.com.cn:8987/ylapi/yuanl/quanyu/work/add | |
| 271 | + url: https://yuanlin.fangshanparking.com:8987/ylapi/yuanl/quanyu/work/add | |
| 272 | 272 | - appid: sz |
| 273 | 273 | secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9 |
| 274 | 274 | url: http://municipal.renniting.cn/prod-api/business/curingcase/issue |
| 275 | 275 | - appid: wy |
| 276 | 276 | secret: x3z7t6l2g2t2i4w3x5e2e0s5y9e6d1y3 |
| 277 | - url: https://pms.jichengshanshui.com.cn:9980/prod-api/task/third/report | |
| 277 | + url: https://pms.fangshanparking.com:9980/prod-api/task/third/report | |
| 278 | 278 | |
| 279 | 279 | # 微信公众号配置 |
| 280 | 280 | wechat: |
| ... | ... | @@ -293,7 +293,7 @@ wechat: |
| 293 | 293 | tokenUrl: https://api.weixin.qq.com/cgi-bin/stable_token |
| 294 | 294 | sendUrl: https://api.weixin.qq.com/cgi-bin/message/template/send |
| 295 | 295 | siot: |
| 296 | - roadUrl: https://iot.jichengshanshui.com.cn:28202/prod-api/fence/fenceInfo/getFenceRoadListByLocation | |
| 296 | + roadUrl: https://iot.fangshanparking.com:28202/prod-api/fence/fenceInfo/getFenceRoadListByLocation | |
| 297 | 297 | |
| 298 | 298 | # 高德地图配置 |
| 299 | 299 | amap: | ... | ... |
urbanops-server/src/main/resources/application.yaml