|
|
|
@ -104,6 +104,22 @@ func (o *order) StockOut(ctx context.Context, args ArgsOrderStockOut) (err error
|
|
|
|
|
// return
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
type ArgsOrderDelivered struct {
|
|
|
|
|
Source source // 商品来源
|
|
|
|
|
SourceOrderSn string // 供应商订单号
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Delivered @Title 订单签收/妥投
|
|
|
|
|
func (o *order) Delivered(ctx context.Context, args ArgsOrderDelivered) (err error) {
|
|
|
|
|
xClient, err := client.GetClient(o)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
reply := 0
|
|
|
|
|
err = xClient.Call(ctx, "Delivered", args, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsOrderFinish struct {
|
|
|
|
|
Source source // 商品来源
|
|
|
|
|
SourceOrderSn string // 供应商订单号
|
|
|
|
|