Skip to content

Commit

Permalink
🎨 开放体育打卡
Browse files Browse the repository at this point in the history
  • Loading branch information
lytMoon committed Nov 17, 2024
1 parent 55581eb commit 731c34b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class DefaultPageInterceptor: IInterceptor {
DISCOVER_NEWS,
DISCOVER_NEWS_ITEM,
//体育打卡
DISCOVER_SPORT,
DISCOVER_SPORT_FEED,
// DISCOVER_SPORT,
// DISCOVER_SPORT_FEED,
//空教室
// DISCOVER_EMPTY_ROOM,
//我的考试
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ interface SportDetailApiService {
/**
* 获取体育打卡详情页面数据
*/
@GET("/magipoke/sunSport")
@GET("/magipoke-sport/sport")
fun getSportDetailData(): Single<ApiWrapper<SportDetailBean>>
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ class SportDetailActivity : BaseBindActivity<SportActivitySportDetailBinding>()

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!sSpIdsIsBind) {
"请先绑定教务在线才能继续使用哦~".toast()
ARouter.getInstance().build(LOGIN_BIND_IDS).navigation()
finish()
}
// if (!sSpIdsIsBind) {
// "请先绑定教务在线才能继续使用哦~".toast()
// ARouter.getInstance().build(LOGIN_BIND_IDS).navigation()
// finish()
// }
//初始化
init()
//设置右上角的时间
Expand Down

0 comments on commit 731c34b

Please sign in to comment.