|
|
@ -239,6 +239,30 @@ func (o *order) Lists(ctx context.Context, channelId string, args ArgsOrderLists
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsOrderDetail struct {
|
|
|
|
|
|
|
|
RootOrderSn string
|
|
|
|
|
|
|
|
ChannelOrderSn string
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReplyOrderDetail struct {
|
|
|
|
|
|
|
|
ChannelOrderSn string
|
|
|
|
|
|
|
|
OrderSn string
|
|
|
|
|
|
|
|
OrderFee decimal.Decimal
|
|
|
|
|
|
|
|
FreightFee decimal.Decimal
|
|
|
|
|
|
|
|
Receiver OrderReceiver
|
|
|
|
|
|
|
|
CreatedAt int64
|
|
|
|
|
|
|
|
LadingBillAt int64
|
|
|
|
|
|
|
|
CloseAt int64
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type OrderReceiver struct {
|
|
|
|
|
|
|
|
ReceiverName string
|
|
|
|
|
|
|
|
ReceiverMobile string
|
|
|
|
|
|
|
|
ReceiverEmail string
|
|
|
|
|
|
|
|
ReceiverZipCode string
|
|
|
|
|
|
|
|
Address string
|
|
|
|
|
|
|
|
UserIp string
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Detail @Title 订单详情
|
|
|
|
// Detail @Title 订单详情
|
|
|
|
func (o *order) Detail(ctx context.Context, channelId string, orderSn string) (reply OrderItem, err error) {
|
|
|
|
func (o *order) Detail(ctx context.Context, channelId string, orderSn string) (reply OrderItem, err error) {
|
|
|
|
xClient, err := client.GetClient(o)
|
|
|
|
xClient, err := client.GetClient(o)
|
|
|
|