类名:OrderService
java.lang.Object
com.example.springchat.advanced.OrderService
这是一个 Spring 服务,其中包含一些方法(methods)。
AgentConfig 这些工具会被暴露给代理(agent)使用。而一个真正的应用程序会使用数据库或其他服务来支持这些工具的功能。-
构造函数概述
Constructors -
方法概述
Modifier and TypeMethodDescriptiongetDeliveryEstimate(String orderId) 返回订单的预计送达时间,或一个其他相关信息。error如果没有这样的订单,则返回 `entry`。getOrderStatus(String orderId) 返回订单的状态和商品信息,或返回其他相关数据。error如果没有这样的订单,则返回空值(即 `null`)。
-
构造函数详细信息
-
OrderService
public OrderService()
-
-
方法详细信息(Method Details)
-
getOrderStatus
-
getDeliveryEstimate
-