fix: 处理冲突
This commit is contained in:
parent
9f4b9b5ebf
commit
c82a4107b7
|
@ -26,13 +26,11 @@ import io.metersphere.service.OrganizationService;
|
|||
import io.metersphere.service.UserService;
|
||||
import io.metersphere.service.WorkspaceService;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.shiro.authz.annotation.Logical;
|
||||
import org.apache.shiro.authz.annotation.RequiresRoles;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -54,7 +52,6 @@ public class UserController {
|
|||
|
||||
@PostMapping("/special/add")
|
||||
|
||||
@MsAuditLog(module = "system_user", type = OperLogConstants.CREATE, content = "#msClass.getLogDetails(#user.id)", msClass = UserService.class)
|
||||
@RequiresRoles(RoleConstants.ADMIN)
|
||||
@MsAuditLog(module = "system_user", type = OperLogConstants.CREATE, content = "#msClass.getLogDetails(#user)", msClass = UserService.class)
|
||||
public UserDTO insertUser(@RequestBody UserRequest user) {
|
||||
|
|
Loading…
Reference in New Issue