Browse Source

no message

xingzai 1 month ago
parent
commit
1d291f062e
1 changed files with 1 additions and 4 deletions
  1. 1 4
      controllers/activity.go

+ 1 - 4
controllers/activity.go

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