|
@@ -44,28 +44,6 @@ func (this *ActivityController) LabelTypeList() {
|
|
|
activeState := this.GetString("ActiveState")
|
|
|
var condition string
|
|
|
var pars []interface{}
|
|
|
- //if whichDay != "" {
|
|
|
- // var startDate string
|
|
|
- // var endDate string
|
|
|
- // if whichDay == "1" {
|
|
|
- // startDate = time.Now().Format(utils.FormatDate)
|
|
|
- // endDate = startDate
|
|
|
- // } else if whichDay == "2" {
|
|
|
- // startDate = time.Now().AddDate(0, 0, +1).Format(utils.FormatDate)
|
|
|
- // endDate = startDate
|
|
|
- // } else {
|
|
|
- // startDate = time.Now().Format(utils.FormatDate)
|
|
|
- // endDate = time.Now().AddDate(0, 0, +1).Format(utils.FormatDate)
|
|
|
- // }
|
|
|
- // startDate += " 00:00:00'"
|
|
|
- // endDate += " 23:59:59'"
|
|
|
- // condition += `AND activity_time BETWEEN ? AND ? `
|
|
|
- // pars = append(pars, startDate, endDate)
|
|
|
- //}
|
|
|
- //if activeState == "" {
|
|
|
- // activeState = "1,2"
|
|
|
- //}
|
|
|
- //condition += ` AND active_state IN (` + activeState + `) `
|
|
|
|
|
|
// 查研观向7.4-始终查询宏观的活动
|
|
|
if chartPermissionIds != "" {
|
|
@@ -317,11 +295,6 @@ func (this *ActivityController) ActivityListNew() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- //for _, v := range list {
|
|
|
- // if mapDingActivityId[v.ActivityId] == 0 {
|
|
|
- // activityList = append(activityList, v)
|
|
|
- // }
|
|
|
- //}
|
|
|
for k, v := range list {
|
|
|
if mapActivityVoice[v.ActivityId] != nil {
|
|
|
list[k].FileType = 1
|
|
@@ -865,8 +838,8 @@ func (this *ActivityController) SignupAdd() {
|
|
|
models.BindUserOutboundMobileByMobile(user.Mobile, countryCode, uid)
|
|
|
}
|
|
|
resp.SignupType = signupType
|
|
|
- resp.SignupStatus = signupStatus
|
|
|
- resp.HasPermission = hasPermission
|
|
|
+ //resp.SignupStatus = signupStatus
|
|
|
+ //resp.HasPermission = hasPermission
|
|
|
//if signupStatus == "Success" {
|
|
|
resp.ActivityId = activityId
|
|
|
//}
|