|
|
|
@ -72,9 +72,9 @@ type ArgsCategoryImport struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Import @Title 导入
|
|
|
|
|
func (*category) Import(ctx context.Context, args []ArgsCategoryImport) (err error) {
|
|
|
|
|
func (c *category) Import(ctx context.Context, args []ArgsCategoryImport) (err error) {
|
|
|
|
|
reply := 0
|
|
|
|
|
xClient, err := client.GetClient(ctx)
|
|
|
|
|
xClient, err := client.GetClient(c)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
@ -90,9 +90,9 @@ type ArgsCategoryExport struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Export @Title 导出
|
|
|
|
|
func (*category) Export(ctx context.Context) (reply []ArgsCategoryExport, err error) {
|
|
|
|
|
func (c *category) Export(ctx context.Context) (reply []ArgsCategoryExport, err error) {
|
|
|
|
|
args := 0
|
|
|
|
|
xClient, err := client.GetClient(ctx)
|
|
|
|
|
xClient, err := client.GetClient(c)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|