|
@@ -371,7 +371,7 @@ class MVHomeController: MVBaseController {
|
|
}
|
|
}
|
|
|
|
|
|
/// 获取用户状态信息
|
|
/// 获取用户状态信息
|
|
- /// - Returns: <#description#>
|
|
|
|
|
|
+ /// - Returns: description
|
|
func getUserInfo() {
|
|
func getUserInfo() {
|
|
PQMineViewModel.userStatus { _, _ in
|
|
PQMineViewModel.userStatus { _, _ in
|
|
}
|
|
}
|
|
@@ -389,6 +389,7 @@ extension MVHomeController {
|
|
let showProtocal: String? = getUserDefaults(key: cShowProtocal) as? String
|
|
let showProtocal: String? = getUserDefaults(key: cShowProtocal) as? String
|
|
if self.mVideos.count > 0, cell != nil, showProtocal != nil, showProtocal == "1" {
|
|
if self.mVideos.count > 0, cell != nil, showProtocal != nil, showProtocal == "1" {
|
|
cell?.pauseView.isHidden = true
|
|
cell?.pauseView.isHidden = true
|
|
|
|
+ cell?.progressView.progress = 0
|
|
let videoInfo = self.mAllVideos[page]
|
|
let videoInfo = self.mAllVideos[page]
|
|
videoInfo.playProgress = 0
|
|
videoInfo.playProgress = 0
|
|
PQSingletoVideoPlayer.shared.configPlyer(videoData: videoInfo, controllerView: cell!.converView)
|
|
PQSingletoVideoPlayer.shared.configPlyer(videoData: videoInfo, controllerView: cell!.converView)
|