finance
黄伟 2 years ago
parent b52099f706
commit 897dbccd78

@ -144,6 +144,17 @@ func (o *order) Lists(ctx context.Context, args ArgsRetailOrderLists) (reply Rep
return
}
// Delivered @Title 订单签收
func (o *order) Delivered(ctx context.Context, orderSn string) (err error) {
xClient, err := client.GetClient(o)
if err != nil {
return
}
reply := 0
err = xClient.Call(ctx, "Delivered", orderSn, &reply)
return
}
type OrderInfo struct {
OrderId uint `json:"orderId"`
CustomerId uint `json:"customerId"`

Loading…
Cancel
Save