POST api/News/GetWechatOfficialAccountBlog

抓取公众号文章内容并将图片插入文章图片表

Request Information

URI Parameters

None.

Body Parameters

文章链接

WechatLinkDto
NameDescriptionTypeAdditional information
BlogUrl

链接地址

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<WechatLinkDto xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.WeChat">
  <BlogUrl>sample string 1</BlogUrl>
</WechatLinkDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

抓取公众号文章内容并将图片插入文章图片表

NewsFromWechatDto
NameDescriptionTypeAdditional information
Title

标题

string

None.

AuthorName

作者姓名

string

None.

ImageUrls

本地图片路径

Collection of string

None.

Content

博客内容

string

None.

State

文章的半持久码

integer

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<NewsFromWechatDto xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Mh.House.Service.Dto.News">
  <AuthorName>sample string 2</AuthorName>
  <Content>sample string 3</Content>
  <ImageUrls xmlns:d2p1="https://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ImageUrls>
  <State>4</State>
  <Title>sample string 1</Title>
</NewsFromWechatDto>