Commit 40bd9a34c80c720cfc63104ca04d1c8333137dcd

Authored by 王彪总
1 parent 8559fdd3

config(servers): 更新服务器配置中的域名地址

- 将 IoT 设备主机地址从 jichengshanshui.com.cn 更改为 fangshanparking.com
- 更新应用配置中多个 API 接口的域名地址
- 修改 SSO 单点登录相关 URL 配置
- 更新微信公众号接口调用地址
- 替换资源服务器下载链接域名
- 修改生产环境社交登录回调地址
- 更新 UAA 认证服务器基础 URL
- 替换 JustAuth 第三方认证源的授权地址
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,23 +7,23 @@ public enum CustomerAuthSource implements AuthSource {
7 UAA { 7 UAA {
8 @Override 8 @Override
9 public String authorize() { 9 public String authorize() {
10 -// return "https://test.jichengshanshui.com.cn:28301/oauth2/authorize"; 10 +// return "https://test.fangshanparking.com:28301/oauth2/authorize";
11 // return "http://localhost:8080/oauth2/authorize"; 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 @Override 15 @Override
16 public String accessToken() { 16 public String accessToken() {
17 -// return "https://test.jichengshanshui.com.cn:28301/oauth2/token"; 17 +// return "https://test.fangshanparking.com:28301/oauth2/token";
18 // return "http://localhost:8080/oauth2/token"; 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 @Override 22 @Override
23 public String userInfo() { 23 public String userInfo() {
24 -// return "https://test.jichengshanshui.com.cn:28301/oauth2/userinfo"; 24 +// return "https://test.fangshanparking.com:28301/oauth2/userinfo";
25 // return "http://localhost:8080/oauth2/userinfo"; 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 @Override 29 @Override
urbanops-server/src/main/resources/application-dev.yaml
@@ -226,13 +226,13 @@ flow: @@ -226,13 +226,13 @@ flow:
226 apps: 226 apps:
227 - appid: yl 227 - appid: yl
228 secret: l6l6x8c7a4g9u0x8d6v3z1y2a2k2i7x7 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 - appid: sz 230 - appid: sz
231 secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9 231 secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9
232 url: http://municipal.renniting.cn/prod-api/business/curingcase/issue 232 url: http://municipal.renniting.cn/prod-api/business/curingcase/issue
233 - appid: wy 233 - appid: wy
234 secret: x3z7t6l2g2t2i4w3x5e2e0s5y9e6d1y3 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 wechat: 238 wechat:
urbanops-server/src/main/resources/application-local.yaml
@@ -228,24 +228,24 @@ flow: @@ -228,24 +228,24 @@ flow:
228 apps: 228 apps:
229 - appid: yl 229 - appid: yl
230 secret: l6l6x8c7a4g9u0x8d6v3z1y2a2k2i7x7 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 - appid: sz 232 - appid: sz
233 secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9 233 secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9
234 url: http://municipal.renniting.cn/prod-api/business/curingcase/issue 234 url: http://municipal.renniting.cn/prod-api/business/curingcase/issue
235 - appid: wy 235 - appid: wy
236 secret: x3z7t6l2g2t2i4w3x5e2e0s5y9e6d1y3 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 sso: 238 sso:
239 client: 239 client:
240 switchState: on 240 switchState: on
241 clientId: schoms 241 clientId: schoms
242 clientSecret: FVwUBd3ZCrt6mMrZ 242 clientSecret: FVwUBd3ZCrt6mMrZ
243 # 前端授权地址 243 # 前端授权地址
244 - authorizeUrl: https://giomp.jichengshanshui.com.cn:28205/authorize 244 + authorizeUrl: https://giomp.fangshanparking.com:28205/authorize
245 # sso 服务地址 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 wechat: 250 wechat:
251 mp: 251 mp:
@@ -263,7 +263,7 @@ wechat: @@ -263,7 +263,7 @@ wechat:
263 tokenUrl: https://api.weixin.qq.com/cgi-bin/stable_token 263 tokenUrl: https://api.weixin.qq.com/cgi-bin/stable_token
264 sendUrl: https://api.weixin.qq.com/cgi-bin/message/template/send 264 sendUrl: https://api.weixin.qq.com/cgi-bin/message/template/send
265 siot: 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 amap: 269 amap:
@@ -281,4 +281,4 @@ static: @@ -281,4 +281,4 @@ static:
281 resource: 281 resource:
282 server: 282 server:
283 enable: true 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,7 +231,7 @@ justauth:
231 UAA: 231 UAA:
232 client-id: schoms 232 client-id: schoms
233 client-secret: FVwUBd3ZCrt6mMrZ 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 ignore-check-redirect-uri: true 235 ignore-check-redirect-uri: true
236 cache: 236 cache:
237 type: REDIS 237 type: REDIS
@@ -247,7 +247,7 @@ sso: @@ -247,7 +247,7 @@ sso:
247 # 前端授权地址(改为justauth,不再这儿配置) 247 # 前端授权地址(改为justauth,不再这儿配置)
248 authorizeUrl: 248 authorizeUrl:
249 # sso 服务地址 249 # sso 服务地址
250 - baseUrl: https://uaa.jichengshanshui.com.cn:28201 250 + baseUrl: https://uaa.fangshanparking.com:28201
251 # 登录成功后跳转地址 (改为justauth,不再这儿配置) 251 # 登录成功后跳转地址 (改为justauth,不再这儿配置)
252 redirectUri: 252 redirectUri:
253 cache: 253 cache:
@@ -268,13 +268,13 @@ flow: @@ -268,13 +268,13 @@ flow:
268 apps: 268 apps:
269 - appid: yl 269 - appid: yl
270 secret: l6l6x8c7a4g9u0x8d6v3z1y2a2k2i7x7 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 - appid: sz 272 - appid: sz
273 secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9 273 secret: v4e1f2z0p7i4k1c5m9k0g0v8f0t7e9z9
274 url: http://municipal.renniting.cn/prod-api/business/curingcase/issue 274 url: http://municipal.renniting.cn/prod-api/business/curingcase/issue
275 - appid: wy 275 - appid: wy
276 secret: x3z7t6l2g2t2i4w3x5e2e0s5y9e6d1y3 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 wechat: 280 wechat:
@@ -293,7 +293,7 @@ wechat: @@ -293,7 +293,7 @@ wechat:
293 tokenUrl: https://api.weixin.qq.com/cgi-bin/stable_token 293 tokenUrl: https://api.weixin.qq.com/cgi-bin/stable_token
294 sendUrl: https://api.weixin.qq.com/cgi-bin/message/template/send 294 sendUrl: https://api.weixin.qq.com/cgi-bin/message/template/send
295 siot: 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 amap: 299 amap:
urbanops-server/src/main/resources/application.yaml
@@ -351,7 +351,7 @@ urbanops: @@ -351,7 +351,7 @@ urbanops:
351 message-bus: 351 message-bus:
352 type: redis # 消息总线的类型 352 type: redis # 消息总线的类型
353 device: 353 device:
354 - host: https://iot.jichengshanshui.com.cn:28202/prod-api/link 354 + host: https://iot.fangshanparking.com:28202/prod-api/link
355 355
356 debug: false 356 debug: false
357 357