Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
broadcast_cloud
/
web-live
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
2
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4b2edfd9
authored
Jun 09, 2021
by
MichaelJier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
1. 更换华广云的用户统计wss接口 2. 修复了一个刷新邀请榜的问题
parent
c4e10e2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
components/modules/menuBox/menuClass/invite/index.vue
+6
-1
plugins/API/apiWS.js
+1
-1
No files found.
components/modules/menuBox/menuClass/invite/index.vue
View file @
4b2edfd9
...
...
@@ -87,7 +87,8 @@ export default {
this
.
tabIndex
=
key
;
},
async
_getInvitationList
()
{
if
(
this
.
nowDate
-
this
.
prevTime
<
5000
)
{
if
(
this
.
nowDate
-
this
.
prevTime
<
1500
)
{
this
.
$layer
.
msg
(
'操作太频繁了,先休息下'
);
return
false
;
}
...
...
@@ -120,6 +121,7 @@ export default {
height
:
0.3rem
;
border-radius
:
50%
;
background
:
rgba
(
0
,
0
,
0
,
0.2
);
z-index
:
1
;
&-main
{
width
:
100%
;
height
:
100%
;
...
...
@@ -128,6 +130,9 @@ export default {
filter
:
brightness
(
2.3
);
cursor
:
pointer
;
}
&
:active
{
opacity
:
0.5
;
}
}
.invite__tab-box
{
padding
:
0.15rem
0
;
...
...
plugins/API/apiWS.js
View file @
4b2edfd9
...
...
@@ -11,7 +11,7 @@ if (!process.env.X_CA_STAGE) {
watchTime
=
`wss://bapidev.guangdianyun.tv/v1/stats/channel/watchTime`
}
if
(
process
.
env
.
privateName
===
'huawei'
)
{
watchTime
=
`wss://b
api.guangdianyun.tv
/v1/stats/channel/watchTime`
watchTime
=
`wss://b
gateway.huaguangyun.cn
/v1/stats/channel/watchTime`
}
export
{
watchTime
}
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