|
@@ -42,7 +42,7 @@ public class TenantMemberController extends BaseController {
|
|
|
private TenantMemberService tenantMemberService;
|
|
|
|
|
|
@ApiOperation(value = "详情", notes = "机构子账户表-根据详情ID查询单条, 传入id")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantMember/detail', {'BACKEND'})")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantMember/detail', {'BACKEND'})")
|
|
|
@PostMapping("/detail/{id}")
|
|
|
public R<TenantMember> detail(@PathVariable("id") Long id) {
|
|
|
|
|
@@ -52,7 +52,7 @@ public class TenantMemberController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "查询分页", notes = "机构子账户表- 传入 TenantMemberWrapper.TenantMemberQuery")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantMember/page', {'BACKEND'})")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantMember/page', {'BACKEND'})")
|
|
|
@PostMapping("/page")
|
|
|
public HttpResponseResult<PageInfo<TenantMemberWrapper.TenantMember>> page(@RequestBody TenantMemberWrapper.TenantMemberQuery query) {
|
|
|
|
|
@@ -62,7 +62,7 @@ public class TenantMemberController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "新增", notes = "机构子账户表- 传入 TenantMemberWrapper.InsertTenantMember")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantMember/add', {'BACKEND'})")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantMember/add', {'BACKEND'})")
|
|
|
@PostMapping("/add")
|
|
|
public HttpResponseResult add(@RequestBody TenantMemberWrapper.InsertOrUpdateTenantMember tenantMember) {
|
|
|
|
|
@@ -71,7 +71,7 @@ public class TenantMemberController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "修改", notes = "机构子账户表- 传入 TenantMemberWrapper.InsertTenantMember")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantMember/update', {'BACKEND'})")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantMember/update', {'BACKEND'})")
|
|
|
@PostMapping("/update")
|
|
|
public HttpResponseResult update(@RequestBody TenantMemberWrapper.InsertOrUpdateTenantMember tenantMember) {
|
|
|
|
|
@@ -81,7 +81,7 @@ public class TenantMemberController extends BaseController {
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "修改结算账户", notes = "机构子账户表- 传入 TenantMemberWrapper.UpdateCount")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantMember/updateCount', {'BACKEND'})")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantMember/updateCount', {'BACKEND'})")
|
|
|
@PostMapping("/updateCount")
|
|
|
public HttpResponseResult updateCount(@RequestBody TenantMemberWrapper.UpdateCount tenantMember) {
|
|
|
|
|
@@ -91,7 +91,7 @@ public class TenantMemberController extends BaseController {
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "删除", notes = "机构子账户表- 传入id")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantMember/remove', {'BACKEND'})")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantMember/remove', {'BACKEND'})")
|
|
|
@PostMapping("/remove")
|
|
|
public R<Boolean> remove(@RequestParam Long id) {
|
|
|
|
|
@@ -100,7 +100,7 @@ public class TenantMemberController extends BaseController {
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "新增易宝账号", notes = "机构子账户表- 传入 TenantMemberWrapper.AddYBCount")
|
|
|
- @PreAuthorize("@auditsvc.hasPermissions('tenantMember/addYB', {'BACKEND'})")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantMember/addYB', {'BACKEND'})")
|
|
|
@PostMapping("/addYB")
|
|
|
public HttpResponseResult addYB(@RequestBody TenantMemberWrapper.AddYBCount tenantMember) {
|
|
|
|