苍穹外卖--WebSocket-客户催单功能实现
This commit is contained in:
@@ -104,4 +104,18 @@ public class OrderController {
|
||||
return Result.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 客户端催单
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/reminder/{id}")
|
||||
@ApiOperation("客户端催单")
|
||||
public Result reminder(@PathVariable Long id) {
|
||||
|
||||
//调用业务层催单功能
|
||||
orderService.reminder(id);
|
||||
return Result.success();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user