|
|
@ -82,8 +82,15 @@ func (*category) Import(ctx context.Context, args []ArgsCategoryImport) (err err
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsCategoryExport struct {
|
|
|
|
|
|
|
|
First string
|
|
|
|
|
|
|
|
Second string
|
|
|
|
|
|
|
|
Third string
|
|
|
|
|
|
|
|
SupplyCategoryId uint
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Export @Title 导出
|
|
|
|
// Export @Title 导出
|
|
|
|
func (*category) Export(ctx context.Context) (reply []ArgsCategoryImport, err error) {
|
|
|
|
func (*category) Export(ctx context.Context) (reply []ArgsCategoryExport, err error) {
|
|
|
|
args := 0
|
|
|
|
args := 0
|
|
|
|
xClient, err := client.GetClient(ctx)
|
|
|
|
xClient, err := client.GetClient(ctx)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|