Commit ad166ca7 authored by 李灿灿's avatar 李灿灿

订单按钮权限调整

parent 96ad330d
......@@ -73,7 +73,7 @@ public class OrderController {
*/
@GetMapping("/handleOrder")
@Operation(summary = "变更订单状态", description = "变更订单状态")
@PreAuthorize("@pms.hasPermission('order:order_handleOrder')")
//@PreAuthorize("@pms.hasPermission('order:order_handleOrder')")
public R<String> handleOrder(@RequestParam String id,@RequestParam Integer status) {
return tOrderService.handleOrder(id,status);
}
......@@ -87,7 +87,7 @@ public class OrderController {
*/
@Operation(summary = "通过id查询详情", description = "通过id查询详情")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('order:order_getOrderDetailById')")
//@PreAuthorize("@pms.hasPermission('order:order_getOrderDetailById')")
public R<OrderDetailVO> getOrderDetailById(@PathVariable("id") String id) {
return tOrderService.getOrderDetailById(id);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment