Commit 4b2edfd9 by MichaelJier

fix

1. 更换华广云的用户统计wss接口
2. 修复了一个刷新邀请榜的问题
parent c4e10e2b
......@@ -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;
......
......@@ -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://bapi.guangdianyun.tv/v1/stats/channel/watchTime`
watchTime = `wss://bgateway.huaguangyun.cn/v1/stats/channel/watchTime`
}
export {watchTime}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment