|
@@ -58,17 +58,17 @@ func CheckActivitySignUpLimit(user *models.WxUserItem, activityInfo *models.Acti
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- totalRestrict, e := models.GetUserRestrictCount(user.Mobile)
|
|
|
- if e != nil {
|
|
|
- err = errors.New("GetUserRestrictCount, Err: " + e.Error())
|
|
|
- return
|
|
|
- }
|
|
|
- if totalRestrict >= 1 {
|
|
|
- signupStatus = "BreakPromise"
|
|
|
- popupMsg = "由于爽约次数过多,您暂时被限制报名资格,请联系对口销售"
|
|
|
- failType = 3
|
|
|
- return
|
|
|
- }
|
|
|
+ //totalRestrict, e := models.GetUserRestrictCount(user.Mobile)
|
|
|
+ //if e != nil {
|
|
|
+ // err = errors.New("GetUserRestrictCount, Err: " + e.Error())
|
|
|
+ // return
|
|
|
+ //}
|
|
|
+ //if totalRestrict >= 1 {
|
|
|
+ // signupStatus = "BreakPromise"
|
|
|
+ // popupMsg = "由于爽约次数过多,您暂时被限制报名资格,请联系对口销售"
|
|
|
+ // failType = 3
|
|
|
+ // return
|
|
|
+ //}
|
|
|
return
|
|
|
|
|
|
}
|