package ik3cloud import ( "context" "git.kumo.work/shama/service/client" ) type product struct { } type ProductSaveItem struct { ProductId int64 // 付款单id Number string // 编码 Name string // 名称 } // Save @TITLE 保存客户 func (p *product) Save(ctx context.Context, args []ProductSaveItem) (entities []Entity, err error) { xClient, err := client.GetClient(p) if err != nil { return } err = xClient.Call(ctx, "Save", args, &entities) return }