|
@@ -1911,7 +1911,6 @@ func (this *ActivityCoAntroller) Check() {
|
|
|
resp.HasPermission = hasPermission
|
|
|
resp.SellerName = sellerName
|
|
|
resp.SellerMobile = sellerMobile
|
|
|
- resp.IsShowWxPay = utils.IS_SHOW_WX_PAY //是否展示微信支付按钮
|
|
|
}
|
|
|
//if resp.CheckPermission {
|
|
|
//如果权限通过了校验,那么就来校验时间
|
|
@@ -1936,6 +1935,10 @@ func (this *ActivityCoAntroller) Check() {
|
|
|
for _, v := range resp.GoodsList {
|
|
|
resp.PopupPriceMsg += v.PopupPriceMsg //价格弹窗信息
|
|
|
}
|
|
|
+ activtyPayTotal := services.GetCygxOrderVirtualAssetdCountTotal(user.Mobile, activityId) // 如果是点数不够的人买了付费活动,取消报名,在报名,不弹付费按钮
|
|
|
+ if activtyPayTotal == 0 {
|
|
|
+ resp.IsShowWxPay = utils.IS_SHOW_WX_PAY
|
|
|
+ }
|
|
|
resp.IsCompanyApply = services.GetUserApplyRecordCountByCompanyIdPay(user.CompanyId) //获取客户是否有过历史申请记录
|
|
|
resp.IsNeedBusinessCard = services.GetCygxUserBusinessCardCount(user.UserId, user.CompanyId) //是否需要上传名片
|
|
|
}
|