From e887aadcc0e81fb8a5511dda28dda6d6fd7d76cd Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 26 May 2020 11:31:25 +0800 Subject: [PATCH] feat: set default weibo displayVideo to 1 --- docs/social-media.md | 2 +- lib/routes/weibo/user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/social-media.md b/docs/social-media.md index 664486aff..3fc33648a 100644 --- a/docs/social-media.md +++ b/docs/social-media.md @@ -756,7 +756,7 @@ rule ### 博主 - + ### 关键词 diff --git a/lib/routes/weibo/user.js b/lib/routes/weibo/user.js index caab7b9a3..742e55d25 100644 --- a/lib/routes/weibo/user.js +++ b/lib/routes/weibo/user.js @@ -4,7 +4,7 @@ const date = require('@/utils/date'); module.exports = async (ctx) => { const uid = ctx.params.uid; - const displayVideo = ctx.params.displayVideo || '0'; + const displayVideo = ctx.params.displayVideo || '1'; const containerResponse = await got({ method: 'get',