类目导出功能

finance
黄伟 2 years ago
parent 7f8cf737e4
commit 41cc917ed4

@ -81,3 +81,14 @@ func (*category) Import(ctx context.Context, args []ArgsCategoryImport) (err err
err = xClient.Call(ctx, "Import", args, &reply)
return
}
// Export @Title 导出
func (*category) Export(ctx context.Context) (reply []ArgsCategoryImport, err error) {
args := 0
xClient, err := client.GetClient(ctx)
if err != nil {
return
}
err = xClient.Call(ctx, "Export", args, &reply)
return
}

Loading…
Cancel
Save