作者 杨谦

1.线下培训相关职务隐藏

@@ -9,11 +9,8 @@ import java.io.File @@ -9,11 +9,8 @@ import java.io.File
9 * Description: 初见时你很迷人 9 * Description: 初见时你很迷人
10 */ 10 */
11 object Constant { 11 object Constant {
12 -// const val BASE_URL = "https://security.brofirst.cn/"  
13 -// const val BASE_URL = "http://security.brofirst.cn/" 12 + const val BASE_URL = "https://admin.anqixing.com"
14 // const val BASE_URL = "https://test.admin.anqixing.com" 13 // const val BASE_URL = "https://test.admin.anqixing.com"
15 - const val BASE_URL = "https://test.admin.anqixing.com"  
16 -// const val BASE_URL = "http://admin.anqixing.com"  
17 const val USERNAME_KEY = "username" 14 const val USERNAME_KEY = "username"
18 const val USERID_KEY = "userid" 15 const val USERID_KEY = "userid"
19 const val LOGIN_KEY = "login" 16 const val LOGIN_KEY = "login"
@@ -22,7 +22,8 @@ class OnlineDetailFragment(val data: TrainClassDes, var type: Int) : @@ -22,7 +22,8 @@ class OnlineDetailFragment(val data: TrainClassDes, var type: Int) :
22 override fun initData() { 22 override fun initData() {
23 super.initData() 23 super.initData()
24 if (TrainCourseDetailItemType.TYPE_COURSE_DETAIL_ITEM_NORMAL == type 24 if (TrainCourseDetailItemType.TYPE_COURSE_DETAIL_ITEM_NORMAL == type
25 - || TrainCourseDetailItemType.TYPE_COURSE_DETAIL_ITEM_VIDEO == type) { 25 + || TrainCourseDetailItemType.TYPE_COURSE_DETAIL_ITEM_VIDEO == type
  26 + || TrainCourseDetailItemType.TYPE_COURSE_DETAIL_ITEM_OFF == type) {
26 binding.llContent.visibility = View.GONE 27 binding.llContent.visibility = View.GONE
27 } 28 }
28 binding.tvPos.text = data.pos 29 binding.tvPos.text = data.pos