作者 杨谦

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

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