Browse Source

no message

xingzai 6 months ago
parent
commit
3b091b29d9
1 changed files with 3 additions and 1 deletions
  1. 3 1
      controllers/activity.go

+ 3 - 1
controllers/activity.go

@@ -888,7 +888,9 @@ func (this *ActivityNoLoginController) Detail() {
 		resp.SellerName = sellerName
 		resp.SellerMobile = sellerMobile
 
-		resp.IsShowWxPay = utils.IS_SHOW_WX_PAY                                                      //是否展示微信支付按钮
+		if activityInfo.ActiveState == "1" {
+			resp.IsShowWxPay = utils.IS_SHOW_WX_PAY //是否展示微信支付按钮
+		}
 		resp.IsCompanyApply = services.GetUserApplyRecordCountByCompanyIdPay(user.CompanyId)         //获取客户是否有过历史申请记录
 		resp.IsNeedBusinessCard = services.GetCygxUserBusinessCardCount(user.UserId, user.CompanyId) //是否需要上传名片
 	}