|
@@ -1911,7 +1911,6 @@ func (this *ActivityCoAntroller) Check() {
|
|
resp.HasPermission = hasPermission
|
|
resp.HasPermission = hasPermission
|
|
resp.SellerName = sellerName
|
|
resp.SellerName = sellerName
|
|
resp.SellerMobile = sellerMobile
|
|
resp.SellerMobile = sellerMobile
|
|
- resp.IsShowWxPay = utils.IS_SHOW_WX_PAY
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -1936,6 +1935,10 @@ func (this *ActivityCoAntroller) Check() {
|
|
for _, v := range resp.GoodsList {
|
|
for _, v := range resp.GoodsList {
|
|
resp.PopupPriceMsg += v.PopupPriceMsg
|
|
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.IsCompanyApply = services.GetUserApplyRecordCountByCompanyIdPay(user.CompanyId)
|
|
resp.IsNeedBusinessCard = services.GetCygxUserBusinessCardCount(user.UserId, user.CompanyId)
|
|
resp.IsNeedBusinessCard = services.GetCygxUserBusinessCardCount(user.UserId, user.CompanyId)
|
|
}
|
|
}
|