feat: set default weibo displayVideo to 1

This commit is contained in:
DIYgod 2020-05-26 11:31:25 +08:00
parent 0440485e2e
commit e887aadcc0
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
2 changed files with 2 additions and 2 deletions

View File

@ -756,7 +756,7 @@ rule
### 博主
<Route author="DIYgod iplusx" example="/weibo/user/1195230310" path="/weibo/user/:uid/:displayVideo?" :paramsDesc="['用户 id, 博主主页打开控制台执行 `$CONFIG.oid` 获取', '是否直接显示微博视频, 缺省 `0` 不显示, 若需要显示则填 `1` ']" anticrawler="1" radar="1"/>
<Route author="DIYgod iplusx" example="/weibo/user/1195230310" path="/weibo/user/:uid/:displayVideo?" :paramsDesc="['用户 id, 博主主页打开控制台执行 `$CONFIG.oid` 获取', '是否直接显示微博视频, 缺省 `1` 显示, 若不需要显示则填 `0` ']" anticrawler="1" radar="1"/>
### 关键词

View File

@ -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',