|
@@ -1031,11 +1031,6 @@ func (this *ActivityController) SignupAdd() {
|
|
|
return
|
|
|
}
|
|
|
resp.IsResearchSpecial = isResearchSpecial
|
|
|
- activtyPayTotal := services.GetCygxOrderVirtualAssetdCountTotal(user.Mobile, activityId)
|
|
|
- if activtyPayTotal > 0 {
|
|
|
- resp.IsResearchSpecial = false //单场购买的活动设为 false 配合前端样式展示使用
|
|
|
- resp.IsPayActivity = true
|
|
|
- }
|
|
|
|
|
|
if havePower {
|
|
|
item := new(models.CygxActivitySignup)
|
|
@@ -2518,6 +2513,13 @@ func (this *ActivityController) Check() {
|
|
|
return
|
|
|
}
|
|
|
resp.IsResearchSpecial = isResearchSpecial
|
|
|
+
|
|
|
+ activtyPayTotal := services.GetCygxOrderVirtualAssetdCountTotal(user.Mobile, activityId)
|
|
|
+ if activtyPayTotal > 0 {
|
|
|
+ resp.IsResearchSpecial = false //单场购买的活动设为 false 配合前端样式展示使用
|
|
|
+ resp.IsPayActivity = true
|
|
|
+ }
|
|
|
+
|
|
|
if havePower {
|
|
|
hasPermission = 1
|
|
|
resp.CheckPermission = true
|