diff --git a/erp/product.go b/erp/product.go index fa739ed..212a360 100644 --- a/erp/product.go +++ b/erp/product.go @@ -280,3 +280,19 @@ func (p *product) Clone(ctx context.Context, args ArgsProductClone) (newProductI err = xClient.Call(ctx, "Clone", args, &newProductId) return } + +type ArgsProductChangeStaff struct { + CustomId int64 + StaffId int64 + DepartmentId int64 +} + +// ChangeStaff @TITLE 更改业务员 +func (p *product) ChangeStaff(ctx context.Context, args ArgsProductChangeStaff) (err error) { + xClient, err := client.GetClient(p) + if err != nil { + return + } + reply := 0 + return xClient.Call(ctx, "ChangeStaff", args, &reply) +}