示例手册:自定义服务和控制器
🌐 Examples cookbook: Custom services and controllers
Page summary:服务封装了可重用的业务逻辑,控制器调用这些服务来处理评论和电子邮件通知。本指南演示了如何使用文档服务 API 创建自定义服务,以及调用这些服务的自定义控制器。
🌐 Services encapsulate reusable business logic that controllers invoke to handle reviews and email notifications. This guide demonstrates creating custom services using the Document Service API and custom controllers that call them.