|
|
|
@ -144,17 +144,6 @@ 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"`
|
|
|
|
|