bug--分销记录权限修改

This commit is contained in:
taochengbo
2020-08-06 22:37:36 +08:00
parent 5127f700b5
commit 8d7fd7df85

View File

@ -40,7 +40,7 @@ public class UserBillController {
@Log("查询")
@ApiOperation(value = "查询")
@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){
return new ResponseEntity<>(yxUserBillService.queryAll(criteria,pageable),HttpStatus.OK);
}