问题修复
This commit is contained in:
parent
206ed11cec
commit
020d1ddb36
@ -187,3 +187,14 @@ func (a *accounting) Factories(ctx context.Context, accountingId int64) (reply [
|
|||||||
return
|
return
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Cancel @TITLE 作废
|
||||||
|
func (a *accounting) Cancel(ctx context.Context, accountingId int64) (err error) {
|
||||||
|
xClient, err := client.GetClient(a)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
err = xClient.Call(ctx, "Cancel", accountingId, &reply)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user