finance
黄伟 2 years ago
parent 1aecdb710a
commit 9fcc536eea

@ -1,25 +0,0 @@
package supplier
import (
"context"
"git.oa00.com/supply-chain/service/client"
)
type orderCancelApply struct {
}
type ArgsOrderCancelApply struct {
ChannelId uint
OrderSubSn string
Reason string
}
// Apply @Title 申请取消订单
func (o *orderCancelApply) Apply(ctx context.Context, args ArgsOrderCancelApply) error {
xClient, err := client.GetClient(o)
if err != nil {
return err
}
reply := 0
return xClient.Call(ctx, "Apply", args, &reply)
}

@ -13,7 +13,6 @@ type Supplier struct {
supplier supplier
WarnLiaison warnLiaison WarnLiaison warnLiaison
WalletApply supplierWalletApply WalletApply supplierWalletApply
OrderCancelApply orderCancelApply
} }
type supplier struct { type supplier struct {

Loading…
Cancel
Save