添加类目导入

finance
黄伟 2 years ago
parent 6bc1eed37a
commit c2710b480b

@ -63,3 +63,21 @@ func (c *category) Select(ctx context.Context) (reply []CategoryItem, err error)
err = xClient.Call(ctx, "Select", args, &reply)
return
}
type ArgsCategoryImport struct {
First string
Second string
Third string
SupplyCategoryId uint
}
// Import @Title 导入
func (*category) Import(ctx context.Context, args ArgsCategoryImport) (err error) {
reply := 0
xClient, err := client.GetClient(ctx)
if err != nil {
return
}
err = xClient.Call(ctx, "Import", args, &reply)
return
}

Loading…
Cancel
Save