master:代发相关调整;

pull/1121/head
liujiang 2025-10-18 21:56:41 +08:00
parent a03083930e
commit 4f8c6c2d62
1 changed files with 2 additions and 2 deletions

View File

@ -30,14 +30,14 @@ public class UserAuthenticationController extends XktBaseController {
final IUserAuthenticationService userAuthService;
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,seller')")
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,agent')")
@ApiOperation(value = "新增代发 ", httpMethod = "POST", response = R.class)
@PostMapping()
public R<Integer> create(@Validated @RequestBody UserAuthCreateVO createVO) {
return R.ok(userAuthService.create(BeanUtil.toBean(createVO, UserAuthCreateDTO.class)));
}
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,seller')")
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,store,seller,agent')||@ss.hasSupplierSubRole()")
@ApiOperation(value = "APP 代发列表 ", httpMethod = "POST", response = R.class)
@PostMapping("/app/page")
public R<Page<UserAuthAppPageResDTO>> appPage(@Validated @RequestBody UserAuthPageVO pageVO) {