feat: set default weibo displayVideo to 1
This commit is contained in:
parent
0440485e2e
commit
e887aadcc0
|
|
@ -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"/>
|
||||
|
||||
### 关键词
|
||||
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue