|
@@ -40,6 +40,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import javax.validation.Valid;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
@@ -297,7 +298,7 @@ public class RoleAuthInfoController {
|
|
|
|
|
|
@ApiOperation(value = "角色授权申请")
|
|
|
@PostMapping(value = "role-auth-apply")
|
|
|
- public Result<Object> roleAuthApply(@RequestBody RoleAuthApplySaveVo saveVo) {
|
|
|
+ public Result<Object> roleAuthApply(@Valid @RequestBody RoleAuthApplySaveVo saveVo) {
|
|
|
ResponseStatus responseStatus = iRoleAuthInfoFacade.roleAuthApply(saveVo);
|
|
|
return getResult(responseStatus);
|
|
|
}
|