更改接口

finance
杨赟 2 years ago
parent b370565e0f
commit d5aa79b91a

@ -101,7 +101,7 @@ func (o *order) LadingBill(ctx context.Context, channelId string, orderSn string
if err != nil {
return
}
return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Submit", orderSn, &reply)
return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "LadingBill", orderSn, &reply)
}
// Close @Title 关闭
@ -111,5 +111,5 @@ func (o *order) Close(ctx context.Context, channelId string, orderSn string) (er
if err != nil {
return
}
return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Submit", orderSn, &reply)
return xClient.Call(context.WithValue(ctx, share.ReqMetaDataKey, map[string]string{"channelId": channelId}), "Close", orderSn, &reply)
}

Loading…
Cancel
Save