部署
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user