@@ -279,7 +279,7 @@ func (this *MobileHomeController) NewList() {
var total int
resp := new(models.HomeResourceDataListResp)
- //condition += " AND source = 'activityvoice' "
+ //condition += " AND source = 'article' "
condition += " AND publish_date < ? "
pars = append(pars, time.Now().AddDate(0, 0, 30))
@@ -113,6 +113,8 @@ func GetUserHasPermissionArticle(user *models.WxUserItem) (hasPermission int, se
sellerMobile = sellerItemQy.RealName
}
+ } else {
+ hasPermission = 2
popupMsg = "需要升级行业套餐权限才可查看此报告,请联系对口销售"