master:代发相关调整;
parent
a03083930e
commit
4f8c6c2d62
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue