问题修复

This commit is contained in:
守护自己的云 2024-10-23 13:11:19 +08:00
parent 206ed11cec
commit 020d1ddb36

View File

@ -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
}