|
@@ -1923,11 +1923,13 @@ func (this *ActivityCoAntroller) Check() {
|
|
|
br.ErrMsg = "CheckActivityPoints,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ //如果通过点数的校验,就来校验邮箱
|
|
|
+ resp.CheckEmail, resp.PopupMsg = services.CheckActivityUserEmail(activityInfo, user)
|
|
|
//}
|
|
|
- if resp.CheckPoints {
|
|
|
- //如果通过点数的校验,就来校验邮箱
|
|
|
- resp.CheckEmail, resp.PopupMsg = services.CheckActivityUserEmail(activityInfo, user)
|
|
|
- } else {
|
|
|
+ if !resp.CheckPoints {
|
|
|
+ // //如果通过点数的校验,就来校验邮箱
|
|
|
+ // resp.CheckEmail, resp.PopupMsg = services.CheckActivityUserEmail(activityInfo, user)
|
|
|
+ //} else {
|
|
|
resp.GoodsList = services.GetGoodsInfoByActivity(activityInfo) //单场活动信息
|
|
|
for _, v := range resp.GoodsList {
|
|
|
resp.PopupPriceMsg += v.PopupPriceMsg //价格弹窗信息
|