苍穹外卖--WebSocket-客户催单功能实现

This commit is contained in:
2025-12-01 15:04:53 +08:00
parent cdc50bebf7
commit 8972018b65
3 changed files with 45 additions and 0 deletions

View File

@@ -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();
}
}