添加字段

This commit is contained in:
2025-04-10 13:32:34 +08:00
parent dd2495342e
commit 970115d818
2 changed files with 16 additions and 0 deletions

View File

@@ -184,3 +184,18 @@ func (c *custom) Edit(ctx context.Context, args ArgsCustomEdit) (err error) {
reply := 0
return xClient.Call(ctx, "Edit", args, &reply)
}
type ArgsCustomChangeStaff struct {
CustomId int64
StaffId int64
}
// ChangeStaff @TITLE 更改业务员
func (c *custom) ChangeStaff(ctx context.Context, args ArgsCustomChangeStaff) (err error) {
xClient, err := client2.GetClient(c)
if err != nil {
return
}
reply := 0
return xClient.Call(ctx, "ChangeStaff", args, &reply)
}