Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
card
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglu
card
Commits
ecef6843
Commit
ecef6843
authored
Dec 04, 2020
by
zhanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎸
feat: 直播去除user_id传参
parent
3cb3f96d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
live.py
card/views/live/live.py
+0
-4
No files found.
card/views/live/live.py
View file @
ecef6843
...
...
@@ -33,10 +33,8 @@ async def live_list_by_ids(ctx: Context, request: LiveListRequest) -> LiveList:
if
not
request
.
live_ids
:
return
LiveList
(
lives
=
[])
user_id
=
request
.
user_id
res
=
(
await
get_current_rpc_invoker
()[
"mimas/live/get_clannels_url/audience"
](
ids
=
request
.
live_ids
,
user_id
=
user_id
,
))
.
unwrap
()
return
await
format_lives
(
request
.
version
,
request
.
device_id
,
res
)
...
...
@@ -47,10 +45,8 @@ async def live_notice_list_by_ids(ctx: Context, request: LiveNoticeListRequest)
if
not
request
.
live_notice_ids
:
return
LiveList
(
lives
=
[])
user_id
=
request
.
user_id
res
=
(
await
get_current_rpc_invoker
()[
"mimas/live/get_live_notice_v2"
](
live_ids
=
request
.
live_notice_ids
,
# user_id=user_id,
))
.
unwrap
()
return
await
format_lives
(
request
.
version
,
request
.
device_id
,
res
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment