xingzai 1 éve
szülő
commit
b65b295ca8
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      controllers/yanxuan_special.go

+ 2 - 0
controllers/yanxuan_special.go

@@ -926,6 +926,8 @@ func (this *YanxuanSpecialController) AuthorList() {
 		v.YanxuanSpecialCenter = bestNew[v.UserId]
 		v.YanxuanSpecialCenter = bestNew[v.UserId]
 	}
 	}
 	resp := new(models.SpecialAuthorListResp)
 	resp := new(models.SpecialAuthorListResp)
+	isAuthor, _ := services.GetYanxuanSpecialAuthorInfo(sysUser) //用户是否没开通研选专栏以及,专栏信息是否完善
+	resp.IsAuthor = isAuthor
 	page := paging.GetPaging(currentIndex, pageSize, total)
 	page := paging.GetPaging(currentIndex, pageSize, total)
 	resp.List = list
 	resp.List = list
 	resp.Paging = page
 	resp.Paging = page