|
@@ -258,6 +258,7 @@ func (this *ReportController) IndustryList() {
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
func (this *ReportController) ArticleCategoryList() {
|
|
@@ -279,6 +280,7 @@ func (this *ReportController) ArticleCategoryList() {
|
|
|
return
|
|
|
}
|
|
|
showTimeLine, _ := this.GetInt("ShowTimeLine", 0)
|
|
|
+ isSendWx, _ := this.GetInt("IsSendWx")
|
|
|
|
|
|
detail, err := models.GetIndustrialManagementDetail(industrialManagementId)
|
|
|
if err != nil {
|
|
@@ -433,7 +435,15 @@ func (this *ReportController) ArticleCategoryList() {
|
|
|
if videoSimple.Id > 0 {
|
|
|
resp.IndustryVideo = videoSimple
|
|
|
}
|
|
|
-
|
|
|
+ if isSendWx == 1 {
|
|
|
+ industryUserFollowMap, err := services.GetIndustryUserFollowMap(user)
|
|
|
+ if err != nil {
|
|
|
+ br.Msg = "获取信息失败"
|
|
|
+ br.ErrMsg = "GetActivitySignupResp,Err:" + err.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
+ resp.IsFollowButton = industryUserFollowMap[industrialManagementId]
|
|
|
+ }
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|