Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cart ¶
type Cart struct { Worker freedom.Worker CartSev *domain.Cart //购物车领域服务 Request *infra.Request //基础设施 用于处理客户端请求io的json数据和验证 }
Cart .
type Delivery ¶
type Delivery struct { Worker freedom.Worker OrderSrv *domain.Order //订单领域服务 Request *infra.Request //基础设施 用于处理客户端请求io的json数据和验证 }
Delivery .
func (*Delivery) PostOrderPayBy ¶ added in v1.6.5
PostOrderPayBy 返货提醒, POST: /delivery/order/pay route.
type Goods ¶
type Goods struct { GoodsSev *application.Goods //商品领域服务 Worker freedom.Worker //运行时,一个请求绑定一个运行时 Request *infra.Request //基础设施 用于处理客户端请求io的json数据和验证 }
Goods .
func (*Goods) PutStockByBy ¶
PutStockByBy 增加库存, PUT: /goods/stock/:id/:num
type Order ¶
type Order struct { Worker freedom.Worker Request *infra.Request //基础设施 用于处理客户端请求io的json数据和验证 OrderSrv *domain.Order //订单领域服务 }
Order .
Click to show internal directories.
Click to hide internal directories.