|
@@ -443,6 +443,7 @@ func (this *MobileReportController) ArticleCategoryList() {
|
|
|
br.ErrMsg = "获取用户权限失败, Err: " + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ followTypeMap := services.GetCygxIndustryFllowListTypeMapByMobile(user.Mobile) // 关注的对应状态
|
|
|
timeLineItem.IsRed = timeLineIsRed
|
|
|
list = append([]*models.IndustrialToArticleCategoryRep{&timeLineItem}, list...)
|
|
|
resp := new(models.IndustrialToArticleCategoryListRep)
|
|
@@ -455,6 +456,7 @@ func (this *MobileReportController) ArticleCategoryList() {
|
|
|
resp.IndustryVideo = videoSimple
|
|
|
}
|
|
|
resp.AuthInfo = au
|
|
|
+ resp.FollowType = followTypeMap[industrialManagementId]
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|