Commit 0eae0160 authored by mengcuiguang's avatar mengcuiguang

修改话述

parent 12c6992a
......@@ -122,7 +122,6 @@ class MainPageFragment(private val categoryId: Int) : LazyLoadBaseFragment(),
override fun getAconfigStatusSuc(status: Int, coin: Int, url: String) {
when (status) {
0 -> {// 看视频
// showToast("今日视频已达上限,请明日再来")
curCoin = coin
awardVedio(coin, Constant.CARRIER_EXCHANGEMAIL_GETCOIN)
}
......@@ -133,9 +132,10 @@ class MainPageFragment(private val categoryId: Int) : LazyLoadBaseFragment(),
readyGo(WebActivity::class.java, bundle)
}
2 -> {// 今日已看完
val bundle = Bundle()
bundle.putString(Constant.MAIN_CARRIER_TYPE, Constant.CARRIER_MAIN_VEDIO_FINISH)
readyGo(AwardActivity::class.java, bundle)
// val bundle = Bundle()
// bundle.putString(Constant.MAIN_CARRIER_TYPE, Constant.CARRIER_MAIN_VEDIO_FINISH)
// readyGo(AwardActivity::class.java, bundle)
showToast("今日视频已达上限,请明日再来")
}
}
}
......
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