Skip to content

【公众号管理】中的【批量导入】操作优化 #126

@jooooock

Description

@jooooock

原导入文件格式:

{
    "version": "1.0",
    "usefor": "wechat-article-exporter",
    "accounts": [
        {
          "fakeid": "公众号fakeid",
          "nickname": "公众号名称",
          "round_head_img": "公众号头像"
        },
        {
          "fakeid": "公众号fakeid",
          "nickname": "公众号名称",
          "round_head_img": "公众号头像"
        },
    ]
}

为了更方便的批量导入公众号信息到系统中,导入文件格式调整为:

1.0版本的文件仍然支持

{
    "version": "1.1",
    "usefor": "wechat-article-exporter",
    "accounts": [
       "https://mp.weixin.qq.com/s/1",
       "https://mp.weixin.qq.com/s/2",
    ]
}

其中,accounts是一个字符串数组,其中的每一项都是公众号的一篇文章链接。

在批量导入该文件时,系统会遍历该数组,根据链接获取公众号的信息并存进系统。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions