|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|