diff --git a/hxhq-modules/hxhq-integration/src/main/resources/bootstrap.yml b/hxhq-modules/hxhq-integration/src/main/resources/bootstrap.yml index 6020f8d..2be3855 100644 --- a/hxhq-modules/hxhq-integration/src/main/resources/bootstrap.yml +++ b/hxhq-modules/hxhq-integration/src/main/resources/bootstrap.yml @@ -15,7 +15,7 @@ spring: cloud: nacos: username: nacos - password: nacos + password: nacosHxhq discovery: # 服务注册地址 server-addr: 127.0.0.1:8848 diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java index d8bab4d..d8318e0 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/system/controller/SysUserController.java @@ -297,7 +297,7 @@ public class SysUserController extends BaseController } @GetMapping("/checkExist") - public AjaxResult checkExist(@PathVariable("username") String username){ + public AjaxResult checkExist(String username){ AjaxResult exists = remoteIntegrationService.checkAccountExists(username); return exists; }