Commit bfe2cfa0 authored by Steven杜宇's avatar Steven杜宇

// 我的

parent b6a04a4b
......@@ -722,8 +722,7 @@ extension YHMyNewViewController {
inviteFriends()
case .myCourseVideo:
if let token = YHLoginManager.shared.userModel?.token, token.count > 5 {
var url = self.getMyCourseVideoUrl()
var url = YHBaseUrlManager.shared.supportH5URL() + "articleDetail.html#/video-list"
url = url + "?param=" + YHLoginManager.shared.h5Token
printLog("URL: \(url)")
var tUrl = url
......@@ -751,16 +750,4 @@ extension YHMyNewViewController {
printLog("不需要响应")
}
}
func getMyCourseVideoUrl() -> String {
#if DEBUG
return "https://test-supporth5.galaxy-immi.com/articleDetail.html#/video-list"
#elseif TESTENV
return "https://test-supporth5.galaxy-immi.com/articleDetail.html#/video-list"
#elseif UATENV
return "https://test-supporth5.galaxy-immi.com/articleDetail.html#/video-list"
#else
return "https://supporth5.galaxy-immi.com/articleDetail.html#/video-list"
#endif
}
}
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 to comment