Commit 981d35f4 by MissYasiky

账号信息自动填充 PolyvUserConfig 里面的值

parent 32070b92
......@@ -174,11 +174,11 @@ class LiveLogin extends Component {
super(props)
this.state = {
liveInfo: {
channelId: "225034",
appId: "f2qnckdai9",
appScrect: "415aec6f97fd4a71917a0ededc7d6751",
userId: "80bb012ea8",
},
channelId: PolyvUserConfig.User.inputChannelId,
appId: PolyvUserConfig.User.inputAppId,
appScrect: PolyvUserConfig.User.inputAppSecret,
userId: PolyvUserConfig.User.inputUserId,
},
}
PolyvViewManager.refCollection['LiveLogin'] = this
}
......@@ -240,12 +240,12 @@ class PlayBackLogin extends Component {
super(props)
this.state = {
playbackInfo: {
appId: "f2qnckdai9",
channelId: "225034",
appScrect: "415aec6f97fd4a71917a0ededc7d6751",
userId: "80bb012ea8",
vid: "80bb012ea89e07ba6e506831d95fc6f8_8",
}
appId: PolyvUserConfig.User.inputAppId,
channelId: PolyvUserConfig.User.inputChannelId,
appScrect: PolyvUserConfig.User.inputAppSecret,
userId: PolyvUserConfig.User.inputUserId,
vid: PolyvUserConfig.User.inputVid,
},
}
PolyvViewManager.refCollection['PlayBackLogin'] = this
}
......
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