修改获取文章接口参数
This commit is contained in:
parent
9e178d12fd
commit
f808afb15d
|
|
@ -215,18 +215,18 @@ export class WechatPublicInstance {
|
|||
)
|
||||
}
|
||||
async batchGetArticle(options: {
|
||||
indexFrom?: number,
|
||||
offset?: number,
|
||||
count: number,
|
||||
noContent?: 0 | 1,
|
||||
}) {
|
||||
const { indexFrom, count, noContent } = options;
|
||||
const { indexFrom, offset, noContent } = options;
|
||||
const myInit = {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
offset: indexFrom,
|
||||
offset,
|
||||
count,
|
||||
no_content: noContent,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in New Issue