diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerApplyLogService.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerApplyLogService.java index b4432b65..1ad4b31e 100644 --- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerApplyLogService.java +++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerApplyLogService.java @@ -2,6 +2,7 @@ package com.ruoyi.system.api; import com.ruoyi.common.core.constant.SecurityConstants; import com.ruoyi.common.core.constant.ServiceNameConstants; +import com.ruoyi.common.core.domain.GetSumDto; import com.ruoyi.common.core.domain.R; import com.ruoyi.common.core.domain.http.CustomerApplyLog; import com.ruoyi.common.core.domain.http.Merchant; @@ -24,12 +25,12 @@ public interface RemoteCustomerApplyLogService * 获取商户今日已申请数 * * - * @param merchantId + * @param getSumDto * @param source 请求来源 * @return 结果 */ - @GetMapping("/log/sum") - public R sum(@PathVariable("merchantId") Long merchantId,@RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @PostMapping("/log/sum") + public R sum(@RequestBody GetSumDto getSumDto, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); /** * 获取用户今日是否是否已申请 diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerService.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerService.java index 757a544c..a5f67da4 100644 --- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerService.java +++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteCustomerService.java @@ -55,8 +55,9 @@ public interface RemoteCustomerService /** * 获取用户token * @param phone + * @param channelId * @return */ @GetMapping("/customer/getCustomerToken") - public String getCustomerToken(@RequestParam("phone") String phone); + public String getCustomerToken(@RequestParam("phone") String phone,@RequestParam("channelId")Long channelId); } diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerApplyLogFallbackFactory.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerApplyLogFallbackFactory.java index 80eca3bf..d88ba8b0 100644 --- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerApplyLogFallbackFactory.java +++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerApplyLogFallbackFactory.java @@ -1,6 +1,7 @@ package com.ruoyi.system.api.factory; import com.ruoyi.common.core.constant.SecurityConstants; +import com.ruoyi.common.core.domain.GetSumDto; import com.ruoyi.common.core.domain.R; import com.ruoyi.common.core.domain.http.CustomerApplyLog; import com.ruoyi.common.core.domain.http.Merchant; @@ -32,7 +33,7 @@ public class RemoteCustomerApplyLogFallbackFactory implements FallbackFactory sum(@PathVariable("merchantId") Long merchantId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source) + public R sum(GetSumDto getSumDto, @RequestHeader(SecurityConstants.FROM_SOURCE) String source) { return R.fail("获取商户已申请数失败:" + throwable.getMessage()); } diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerFallbackFactory.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerFallbackFactory.java index ab1a6186..2ad2a2d0 100644 --- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerFallbackFactory.java +++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteCustomerFallbackFactory.java @@ -46,7 +46,7 @@ public class RemoteCustomerFallbackFactory implements FallbackFactory merchants = new ArrayList<>(); for (Merchant merchant:listR.getData()) { //限量判定 - R sum = remoteCustomerApplyLogService.sum(merchant.getId(), SecurityConstants.INNER); + GetSumDto dto = new GetSumDto(); + dto.setMerchantId(merchant.getId()); + R sum = remoteCustomerApplyLogService.sum(dto, SecurityConstants.INNER); if (merchant.getLimitType()==1&&merchant.getLimitNum()<=sum.getData()){ continue; } diff --git a/ruoyi-modules/ruoyi-btc/src/main/java/com/ruoyi/btc/service/impl/SysPublicHalfServiceImpl.java b/ruoyi-modules/ruoyi-btc/src/main/java/com/ruoyi/btc/service/impl/SysPublicHalfServiceImpl.java index 8d9fafe4..6ec1bd7e 100644 --- a/ruoyi-modules/ruoyi-btc/src/main/java/com/ruoyi/btc/service/impl/SysPublicHalfServiceImpl.java +++ b/ruoyi-modules/ruoyi-btc/src/main/java/com/ruoyi/btc/service/impl/SysPublicHalfServiceImpl.java @@ -3,17 +3,18 @@ package com.ruoyi.btc.service.impl; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.collection.CollectionUtil; import com.alibaba.fastjson.JSONObject; +import com.ruoyi.btc.config.Config; import com.ruoyi.btc.domain.ComPublicHalfDto; import com.ruoyi.btc.domain.CustomerInfoDto; import com.ruoyi.btc.service.ISysPublicHalfService; import com.ruoyi.common.core.constant.CacheConstants; import com.ruoyi.common.core.constant.SecurityConstants; +import com.ruoyi.common.core.domain.GetSumDto; import com.ruoyi.common.core.domain.R; import com.ruoyi.common.core.domain.http.Channel; import com.ruoyi.common.core.domain.http.Customer; -import com.ruoyi.common.core.domain.http.CustomerApplyLog; import com.ruoyi.common.core.domain.http.Merchant; -import com.ruoyi.common.core.utils.LocalDateTimeUtils; +import com.ruoyi.common.core.utils.EncryptUtil; import com.ruoyi.common.core.utils.ProbitUtil; import com.ruoyi.common.core.utils.SecureUtils; import com.ruoyi.common.core.utils.StringUtils; @@ -24,7 +25,6 @@ import com.ruoyi.system.api.RemoteCustomerService; import com.ruoyi.system.api.RemoteMerchantService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; -import org.springframework.web.bind.annotation.RequestParam; import java.util.*; import java.util.stream.Collectors; @@ -42,6 +42,7 @@ public class SysPublicHalfServiceImpl implements ISysPublicHalfService private final RemoteMerchantService remoteMerchantService; private final RemoteCustomerApplyLogService remoteCustomerApplyLogService; private final RedisService redisService; + private final Config config; /** * 半流程通用撞库 @@ -81,6 +82,7 @@ public class SysPublicHalfServiceImpl implements ISysPublicHalfService customer.setLastLoginTime(new Date()); customer.setIsAuth(false); customer.setStatus(2); + customer.setPhoneMd5(customerInfoDto.getPhoneMd5()); R customerInfoByPhoneMd5 = remoteCustomerService.getCustomerInfoByPhoneMd5(customerInfoDto.getPhoneMd5(), SecurityConstants.INNER); if (customerInfoByPhoneMd5.getCode()==200){ remoteCustomerService.updateByPhoneMd5(customer,SecurityConstants.INNER); @@ -111,7 +113,9 @@ public class SysPublicHalfServiceImpl implements ISysPublicHalfService List merchants = new ArrayList<>(); for (Merchant merchant:listR.getData()) { //限量判定 - R sum = remoteCustomerApplyLogService.sum(merchant.getId(), SecurityConstants.INNER); + GetSumDto dto = new GetSumDto(); + dto.setMerchantId(merchant.getId()); + R sum = remoteCustomerApplyLogService.sum(dto, SecurityConstants.INNER); if (merchant.getLimitType()==1&&merchant.getLimitNum()<=sum.getData()){ continue; } @@ -224,6 +228,9 @@ public class SysPublicHalfServiceImpl implements ISysPublicHalfService customer.setStatus(1); R customerInfoByPhoneMd5 = remoteCustomerService.getCustomerInfoByPhoneMd5(customerInfoDto.getPhoneMd5(), SecurityConstants.INNER); if (customerInfoByPhoneMd5.getCode()==200){ + customer.setPhone(EncryptUtil.AESencode(customer.getPhone(), config.getAESkey())); + customer.setIdCard(EncryptUtil.AESencode(customer.getIdCard(),config.getAESkey())); + customer.setActurlName(EncryptUtil.AESencode(customer.getActurlName(),config.getAESkey())); remoteCustomerService.updateByPhoneMd5(customer,SecurityConstants.INNER); }else { remoteCustomerService.add(customer,SecurityConstants.INNER); @@ -240,7 +247,7 @@ public class SysPublicHalfServiceImpl implements ISysPublicHalfService result.put("data",map); return AjaxResult.success(result); } - String url = channel.getHtmlLocation() + "?token="+remoteCustomerService.getCustomerToken(customer.getPhone()); + String url = channel.getHtmlLocation()+"?sign="+channel.getChannelSign() + "&token="+remoteCustomerService.getCustomerToken(customer.getPhone(),channel.getId() ); map.put("url",url); map.put("regist",true); result.put("data",map); diff --git a/ruoyi-modules/ruoyi-btc/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-btc/src/main/resources/bootstrap.yml index ab6bb0f6..93c2745e 100644 --- a/ruoyi-modules/ruoyi-btc/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-btc/src/main/resources/bootstrap.yml @@ -14,12 +14,12 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c config: # 配置中心地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c # 配置文件格式 file-extension: yml # 共享配置 diff --git a/ruoyi-modules/ruoyi-file/src/main/java/com/ruoyi/file/service/LocalSysFileServiceImpl.java b/ruoyi-modules/ruoyi-file/src/main/java/com/ruoyi/file/service/LocalSysFileServiceImpl.java index 150a1deb..8e1b317e 100644 --- a/ruoyi-modules/ruoyi-file/src/main/java/com/ruoyi/file/service/LocalSysFileServiceImpl.java +++ b/ruoyi-modules/ruoyi-file/src/main/java/com/ruoyi/file/service/LocalSysFileServiceImpl.java @@ -1,5 +1,6 @@ package com.ruoyi.file.service; +import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Primary; import org.springframework.stereotype.Service; @@ -13,6 +14,7 @@ import com.ruoyi.file.utils.FileUploadUtils; */ @Primary @Service +@Slf4j public class LocalSysFileServiceImpl implements ISysFileService { /** diff --git a/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml index fc025647..15a8f393 100644 --- a/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-file/src/main/resources/bootstrap.yml @@ -14,12 +14,12 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c config: # 配置中心地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c # 配置文件格式 file-extension: yml # 共享配置 diff --git a/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml index 82f5eac8..e7776f1a 100644 --- a/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-gen/src/main/resources/bootstrap.yml @@ -14,12 +14,12 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c config: # 配置中心地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c # 配置文件格式 file-extension: yml # 共享配置 diff --git a/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml index 955c5fe1..99a0a25b 100644 --- a/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-job/src/main/resources/bootstrap.yml @@ -14,12 +14,12 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c config: # 配置中心地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c # 配置文件格式 file-extension: yml # 共享配置 diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerApplyLogController.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerApplyLogController.java index b267eb88..4b152964 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerApplyLogController.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerApplyLogController.java @@ -4,6 +4,7 @@ import java.util.List; import javax.servlet.http.HttpServletResponse; import com.ruoyi.common.core.constant.SecurityConstants; +import com.ruoyi.common.core.domain.GetSumDto; import com.ruoyi.common.core.domain.R; import com.ruoyi.system.domain.dto.ApplyCallback; import org.springframework.beans.factory.annotation.Autowired; @@ -47,13 +48,13 @@ public class CustomerApplyLogController extends BaseController * 获取商户今日已申请数 * * - * @param merchantId + * @param getSumDto * @param source 请求来源 * @return 结果 */ - @GetMapping("/sum") - public R sum(@PathVariable("merchantId") Long merchantId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source){ - return R.ok(customerApplyLogService.getApplySum(merchantId)); + @PostMapping("/sum") + public R sum(@RequestBody GetSumDto getSumDto, @RequestHeader(SecurityConstants.FROM_SOURCE) String source){ + return R.ok(customerApplyLogService.getApplySum(getSumDto.getMerchantId())); } /** diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerController.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerController.java index 27401a16..ca7bb8e9 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerController.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomerController.java @@ -88,7 +88,7 @@ public class CustomerController extends BaseController * @return 结果 */ @PostMapping("/updateByPhoneMd5") - public R updateByPhoneMd5(Customer customer ,@RequestHeader(SecurityConstants.FROM_SOURCE) String source){ + public R updateByPhoneMd5(@RequestBody Customer customer ,@RequestHeader(SecurityConstants.FROM_SOURCE) String source){ return customerService.updateByPhoneMd5(customer); } @@ -143,7 +143,7 @@ public class CustomerController extends BaseController * @return */ @GetMapping("/getCustomerToken") - public String getCustomerToken(@RequestParam("phone") String phone) { + public String getCustomerToken(@RequestParam("phone") String phone,@RequestParam("channelId")Long channelId) { return customerService.getCustomerToken(phone); } diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/MerchantListDto.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/MerchantListDto.java index 9c16869f..466fd550 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/MerchantListDto.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/MerchantListDto.java @@ -6,11 +6,14 @@ import lombok.Data; public class MerchantListDto { //商户名 - String merchantName; + private String merchantName; //商户跳转地址 - String merchantUrl; + private String merchantUrl; //商户描述 - String merchantDescribe; + private String merchantDescribe; + + //商户ID + private Long merchantId; } diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomerService.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomerService.java index e20e4ace..11dd7587 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomerService.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ICustomerService.java @@ -86,6 +86,13 @@ public interface ICustomerService extends IService */ String getCustomerToken(String phone); + /** + * 注册并返回token + * @param phone + * @return + */ + public String registAndretrunToken(String phone,Long channelId); + /** * h5用户登录 * @param phone diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ChannelServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ChannelServiceImpl.java index 3e061400..f33685b0 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ChannelServiceImpl.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ChannelServiceImpl.java @@ -40,7 +40,9 @@ public class ChannelServiceImpl implements IChannelService log.info("初始化渠道数据开始"); List channels = channelMapper.selectList(new LambdaQueryWrapper()); for (Channel channel:channels) { + redisService.deleteObject(CacheConstants.CHANNEL_ID+channel.getId()); redisService.setCacheObject(CacheConstants.CHANNEL_ID+channel.getId(),channel); + redisService.deleteObject(CacheConstants.CHANNEL_SIGN+channel.getChannelSign()); redisService.setCacheObject(CacheConstants.CHANNEL_SIGN+channel.getChannelSign(),channel); } } diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/CustomerServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/CustomerServiceImpl.java index 0e6b8f36..89e0cc42 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/CustomerServiceImpl.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/CustomerServiceImpl.java @@ -149,8 +149,8 @@ public class CustomerServiceImpl extends ServiceImpl i @Override public String getCustomerToken(String phone) { - log.info("获取用户token,手机号:{},加密结果:{}", phone, EncryptUtil.AESencode(phone, systemConfig.getAESkey())); - Customer customer = this.getOne(new LambdaQueryWrapper().eq(Customer::getPhone, EncryptUtil.AESencode(phone, systemConfig.getAESkey()))); + log.info("获取用户token,手机号:{}", phone); + Customer customer = this.getOne(new LambdaQueryWrapper().eq(Customer::getPhone, phone)); log.info("获取用户token,用户信息:{}", customer); //获取到用户登陆的token String token = customerTokenService.getToken(customer.getId()); diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/MerchantServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/MerchantServiceImpl.java index 16a7612d..5dafce35 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/MerchantServiceImpl.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/MerchantServiceImpl.java @@ -155,6 +155,7 @@ public class MerchantServiceImpl extends ServiceImpl i merchantListDto.setMerchantName(merchant.getMerchantName()); merchantListDto.setMerchantDescribe(merchant.getMerchantDescribe()); merchantListDto.setMerchantUrl(merchant.getHitUrl()); + merchantListDto.setMerchantId(merchant.getId()); merchantListDtos.add(merchantListDto); } return AjaxResult.success(merchantListDtos); diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml index 17605768..f9f159f2 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml @@ -14,12 +14,12 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c config: # 配置中心地址 - server-addr: 47.109.135.151:8848 - namespace: b8ad3fd2-18ea-4cdf-a82c-4ce483392b1a + server-addr: 124.222.144.55:8848 + namespace: 9a5181d5-598c-4b27-9644-ef14e7fd250c # 配置文件格式 file-extension: yml # 共享配置 diff --git a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml index 41be8c9c..6f4f8acf 100644 --- a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml +++ b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml @@ -14,10 +14,10 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: 47.109.135.151:8848 + server-addr: 124.222.144.55:8848 config: # 配置中心地址 - server-addr: 47.109.135.151:8848 + server-addr: 124.222.144.55:8848 # 配置文件格式 file-extension: yml # 共享配置