소스 검색

Merge branch 'cygx_v2' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 3 년 전
부모
커밋
4c57cfb94e
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      controllers/activity.go

+ 5 - 4
controllers/activity.go

@@ -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 = "获取信息失败"