From d40667a798f044b979efe6610ffd1cf68471de9c Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 08 六月 2022 21:45:44 +0800 Subject: [PATCH] !182 优化新增用户与角色信息、用户与岗位信息逻辑 Merge pull request !182 from zendwang/dev --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRegisterController.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRegisterController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRegisterController.java index 6595f06..b8cedd6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRegisterController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRegisterController.java @@ -1,5 +1,6 @@ package com.ruoyi.web.controller.system; +import com.ruoyi.common.annotation.Anonymous; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.R; import com.ruoyi.common.core.domain.model.RegisterBody; @@ -27,6 +28,7 @@ private final SysRegisterService registerService; private final ISysConfigService configService; + @Anonymous @ApiOperation("鐢ㄦ埛娉ㄥ唽") @PostMapping("/register") public R<Void> register(@Validated @RequestBody RegisterBody user) { -- Gitblit v1.9.3