|
@@ -359,11 +359,12 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if !strings.Contains(activityInfo.CustomerTypeIds, strconv.Itoa(userType)) && activityInfo.LimitPeopleNum > 0 {
|
|
|
- br.Msg = "您暂无权限查看该活动"
|
|
|
- return
|
|
|
- }
|
|
|
+ //if !strings.Contains(activityInfo.CustomerTypeIds, strconv.Itoa(userType)) && activityInfo.LimitPeopleNum > 0 {
|
|
|
+ // br.Msg = "您暂无权限查看该活动"
|
|
|
+ // return
|
|
|
+ //}
|
|
|
fmt.Println(userType)
|
|
|
+
|
|
|
detail, errDetail := models.GetActivityTypeDetailById(activityInfo.ActivityTypeId)
|
|
|
if errDetail != nil {
|
|
|
br.Msg = "获取信息失败"
|