20231122.9.43

This commit is contained in:
wangjinlei
2023-11-22 09:43:23 +08:00
parent 5e06610316
commit c51e56fdf7
9 changed files with 5 additions and 113 deletions

View File

@@ -48,6 +48,9 @@ public class UserAddressServiceImpl extends ServiceImpl<UserAddressDao, UserAddr
QueryWrapper<County> countyQueryWrapper = new QueryWrapper<>();
countyQueryWrapper.eq("region_code", regionCode);
County county = countyService.getOne(countyQueryWrapper);
if(county==null){
return null;
}
vo.setCounty(county.getCountyName());
String cityRegionCode;
if (regionCode.startsWith("11") || regionCode.startsWith("12") || regionCode.startsWith("31") || regionCode.startsWith("50")) {

View File

@@ -1,7 +1,4 @@
spring:
logging:
file:
path: d:log/
redis:
open: false # 是否开启redis缓存 true开启 false关闭
database: 0
@@ -90,6 +87,5 @@ wxpay:
privateKeyUrl: D:/hs/nuttyreading-java/src/main/resources/cent/apiclient_key.pem
redisAddress: redis://59.110.212.44:6379
redisPassword: Jgll2015

View File

@@ -85,9 +85,7 @@ wxpay:
wechatPayCertificateUrl: /usr/local/hs/peanut_book/target/classes/cent/wechatpay_7B5676E3CDF56680D0414A009CE501C844DBE2D6.pem
privateKeyUrl: /usr/local/hs/peanut_book/target/classes/cent/apiclient_key.pem
logging:
file:
path: /usr/local/hs/peanut_book/logs/
redisAddress: redis://59.110.212.44:6379
redisPassword: Jgll2015

View File

@@ -86,9 +86,7 @@ wxpay:
wechatPayCertificateUrl: /usr/local/hs/peanut_book/target/classes/cent/wechatpay_7B5676E3CDF56680D0414A009CE501C844DBE2D6.pem
privateKeyUrl: /usr/local/hs/peanut_book/target/classes/cent/apiclient_key.pem
logging:
file:
path: /usr/local/hs/peanut_book/logs/
redisAddress: redis://59.110.212.44:6379
redisPassword: Jgll2015