Commit ccb0098c authored by suntao's avatar suntao

接口注释

parent ef7b8145
......@@ -24,6 +24,14 @@ public class OrderController {
@Autowired
private OrderService orderService;
/**
* 订单查询接口
* @param channelId
* @param channelOrderNumber
* @param pageNumber
* @param pageSize
* @return
*/
@ChannelIdInit
@CheckChannelRole
@GetMapping("/info")
......@@ -31,6 +39,12 @@ public class OrderController {
return Result.buildSuccess(orderService.getOrders(channelId, channelOrderNumber, pageNumber, pageSize));
}
/**
* 审批接口
* @param approveVo
* @return
*/
@ChannelIdInit
@PostMapping("/approve")
public Result approveOpt(@RequestBody @Valid ApproveVo approveVo) {
......
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