bug--分销记录权限修改
This commit is contained in:
@ -40,7 +40,7 @@ public class UserBillController {
|
|||||||
@Log("查询")
|
@Log("查询")
|
||||||
@ApiOperation(value = "查询")
|
@ApiOperation(value = "查询")
|
||||||
@GetMapping(value = "/yxUserBill")
|
@GetMapping(value = "/yxUserBill")
|
||||||
@PreAuthorize("@el.check('admin','YXUSERBILL_ALL','YXUSERBILL_SELECT')")
|
@PreAuthorize("hasAnyRole('admin','YXUSERBILL_ALL','YXUSERBILL_SELECT')")
|
||||||
public ResponseEntity getYxUserBills(YxUserBillQueryCriteria criteria, Pageable pageable){
|
public ResponseEntity getYxUserBills(YxUserBillQueryCriteria criteria, Pageable pageable){
|
||||||
return new ResponseEntity<>(yxUserBillService.queryAll(criteria,pageable),HttpStatus.OK);
|
return new ResponseEntity<>(yxUserBillService.queryAll(criteria,pageable),HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user