部署测试

This commit is contained in:
2024-08-01 14:51:51 +08:00
parent f9bb041a2e
commit 81ffde828c
13 changed files with 569 additions and 11 deletions

25
erp/sale/audit.go Normal file
View File

@@ -0,0 +1,25 @@
package sale
import (
"context"
"git.kumo.work/shama/service/client"
)
type audit struct {
}
type ArgsAuditSubmit struct {
StaffId int64 // 操作人
SaleId int64 // 销售合同id
AuditStaffIds []int64 // 审核人
}
// Submit @TITLE 提交审核
func (a *audit) Submit(ctx context.Context, args ArgsAuditSubmit) (err error) {
xClient, err := client.GetClient(a)
if err != nil {
return
}
reply := 0
err = xClient.Call(ctx, "Submit", args, &reply)
return
}