fix: post type

This commit is contained in:
DIYgod
2019-06-04 18:28:06 +08:00
parent 218c06f96c
commit ea508b8bc2
28 changed files with 66 additions and 75 deletions

View File

@@ -12,8 +12,8 @@ module.exports = async (ctx) => {
url: infoUrl,
headers: {
Referer: pageUrl,
'Content-Type': 'application/json',
},
json: true,
data: {
id: paramId,
},
@@ -26,8 +26,8 @@ module.exports = async (ctx) => {
url: apiUrl,
headers: {
Referer: pageUrl,
'Content-Type': 'application/json',
},
json: true,
data: {
size: 5,
type: type,