refactor(sale): 调整效益测算审核接口位置
- 从 append.go 文件中移除 AuditBenefit 函数 - 在 change.go 文件中添加 AuditBenefit 函数
This commit is contained in:
@@ -107,13 +107,3 @@ func (a *append) Benefit(ctx context.Context, args ArgsAppendBenefit) (reply Rep
|
||||
err = xClient.Call(ctx, "Benefit", args, &reply)
|
||||
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)
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user