refactor(sale): 调整效益测算审核接口位置
- 从 append.go 文件中移除 AuditBenefit 函数 - 在 change.go 文件中添加 AuditBenefit 函数
This commit is contained in:
parent
144ac0bb5d
commit
2141ec63cd
@ -107,13 +107,3 @@ func (a *append) Benefit(ctx context.Context, args ArgsAppendBenefit) (reply Rep
|
|||||||
err = xClient.Call(ctx, "Benefit", args, &reply)
|
err = xClient.Call(ctx, "Benefit", args, &reply)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// AuditBenefit @TITLE 审核效益测算
|
|
||||||
func (a *append) AuditBenefit(ctx context.Context, args ArgsAppendBenefit) (reply ReplyBenefitInfo, err error) {
|
|
||||||
xClient, err := client.GetClient(a)
|
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
err = xClient.Call(ctx, "AuditBenefit", args, &reply)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
@ -40,3 +40,13 @@ func (c *change) Benefit(ctx context.Context, args ArgsAppendBenefit) (reply Rep
|
|||||||
err = xClient.Call(ctx, "Benefit", args, &reply)
|
err = xClient.Call(ctx, "Benefit", args, &reply)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AuditBenefit @TITLE 审核效益测算
|
||||||
|
func (c *change) AuditBenefit(ctx context.Context, args ArgsAppendBenefit) (reply ReplyBenefitInfo, err error) {
|
||||||
|
xClient, err := client.GetClient(c)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
err = xClient.Call(ctx, "AuditBenefit", args, &reply)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user