bug--权限完善和去掉无用的包
This commit is contained in:
@ -57,7 +57,7 @@ public class StoreCategoryController {
|
||||
@Log("导出数据")
|
||||
@ApiOperation("导出数据")
|
||||
@GetMapping(value = "/yxStoreCategory/download")
|
||||
@PreAuthorize("@el.check('admin','cate:list')")
|
||||
@PreAuthorize("@el.check('admin','YXSTORECATEGORY_SELECT')")
|
||||
public void download(HttpServletResponse response, YxStoreCategoryQueryCriteria criteria) throws IOException {
|
||||
yxStoreCategoryService.download(yxStoreCategoryService.queryAll(criteria), response);
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ public class StoreOrderController {
|
||||
|
||||
@ApiOperation(value = "查询订单")
|
||||
@GetMapping(value = "/yxStoreOrder")
|
||||
@PreAuthorize("hasAnyRole('admin','YXSTOREORDER_ALL','YXSTOREORDER_SELECT')")
|
||||
@PreAuthorize("hasAnyRole('admin','YXSTOREORDER_ALL','YXSTOREORDER_SELECT','YXEXPRESS_SELECT')")
|
||||
public ResponseEntity getYxStoreOrders(YxStoreOrderQueryCriteria criteria,
|
||||
Pageable pageable,
|
||||
@RequestParam(name = "orderStatus") String orderStatus,
|
||||
@ -222,7 +222,7 @@ public class StoreOrderController {
|
||||
@Log("导出数据")
|
||||
@ApiOperation("导出数据")
|
||||
@GetMapping(value = "/yxStoreOrder/download")
|
||||
@PreAuthorize("@el.check('admin','cate:list')")
|
||||
@PreAuthorize("hasAnyRole('admin','YXSTOREORDER_SELECT')")
|
||||
public void download(HttpServletResponse response,
|
||||
YxStoreOrderQueryCriteria criteria,
|
||||
Pageable pageable,
|
||||
|
Reference in New Issue
Block a user