浏览代码

no message

xingzai 1 年之前
父节点
当前提交
5f185419ab
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      controllers/article.go

+ 3 - 1
controllers/article.go

@@ -189,11 +189,13 @@ func (this *ArticleController) Detail() {
 		}
 		detail.Body = ""
 		detail.BodyText = ""
-		resp.PopupPriceMsg = "您可以购买畅读卡后参与(¥99/日,¥999/月)"                                             //价格弹窗信息
 		resp.IsShowWxPay = utils.IS_SHOW_WX_PAY                                                      //是否展示微信支付按钮
 		resp.IsCompanyApply = services.GetUserApplyRecordCountByCompanyIdPay(user.CompanyId)         //获取客户是否有过历史申请记录
 		resp.IsNeedBusinessCard = services.GetCygxUserBusinessCardCount(user.UserId, user.CompanyId) //是否需要上传名片
 		resp.GoodsList = services.GetUserGoodsCardList()                                             //日卡月卡商品信息
+		for _, v := range resp.GoodsList {
+			resp.PopupPriceMsg += v.PopupPriceMsg //价格弹窗信息
+		}
 
 	}