This commit is contained in:
2024-10-18 16:37:14 +08:00
parent 2c977e19e3
commit 2c467a3aec
14 changed files with 194 additions and 102 deletions

View File

@@ -23,3 +23,14 @@ func (a *audit) Submit(ctx context.Context, args ArgsAuditSubmit) (err error) {
err = xClient.Call(ctx, "Submit", args, &reply)
return
}
// Cancel @TITLE 提交审核
func (a *audit) Cancel(ctx context.Context, args ArgsAuditSubmit) (err error) {
xClient, err := client.GetClient(a)
if err != nil {
return
}
reply := 0
err = xClient.Call(ctx, "Cancel", args, &reply)
return
}