取消新增企业接口权限校验
This commit is contained in:
@@ -69,6 +69,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
"/api/system/user/updateUserOfficeOpenidWithoutLogin",
|
"/api/system/user/updateUserOfficeOpenidWithoutLogin",
|
||||||
"/api/system/user-referee/getReferee/**",
|
"/api/system/user-referee/getReferee/**",
|
||||||
"/api/system/dict-data/page",
|
"/api/system/dict-data/page",
|
||||||
|
"/api/system/organization",
|
||||||
"/lvQ4EoivKJ.txt"
|
"/lvQ4EoivKJ.txt"
|
||||||
)
|
)
|
||||||
.permitAll()
|
.permitAll()
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class OrganizationController extends BaseController {
|
|||||||
return success(organizationService.getByIdRel(id));
|
return success(organizationService.getByIdRel(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PreAuthorize("hasAuthority('sys:org:save')")
|
// @PreAuthorize("hasAuthority('sys:org:save')")
|
||||||
@ApiOperation("添加组织机构")
|
@ApiOperation("添加组织机构")
|
||||||
@PostMapping()
|
@PostMapping()
|
||||||
public ApiResult<?> add(@RequestBody Organization organization) {
|
public ApiResult<?> add(@RequestBody Organization organization) {
|
||||||
|
|||||||
Reference in New Issue
Block a user