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