Authored by chaogeng

Revert "活动url处理"

This reverts commit d4111cab.
1 package com.yoho.activity.queue.service.impl; 1 package com.yoho.activity.queue.service.impl;
2 2
3 -import java.io.UnsupportedEncodingException;  
4 -import java.net.URLEncoder;  
5 import java.util.ArrayList; 3 import java.util.ArrayList;
  4 +import java.util.Arrays;
6 import java.util.List; 5 import java.util.List;
7 6
8 import org.apache.commons.lang.StringUtils; 7 import org.apache.commons.lang.StringUtils;
@@ -93,11 +92,7 @@ public class ActivitySettingServiceImpl implements IActivitySettingService { @@ -93,11 +92,7 @@ public class ActivitySettingServiceImpl implements IActivitySettingService {
93 // 设置活动BO属性 92 // 设置活动BO属性
94 rspBO.setActivityId(activity.getId()); 93 rspBO.setActivityId(activity.getId());
95 rspBO.setActivityName(activity.getActivityName()); 94 rspBO.setActivityName(activity.getActivityName());
96 - try {  
97 - rspBO.setActivityDesc(URLEncoder.encode(activity.getActivityDesc(), "UTF-8"));  
98 - } catch (UnsupportedEncodingException e) {  
99 - logger.error("generateActivityRspBO: encode activity desc fail", e);  
100 - } 95 + rspBO.setActivityDesc(activity.getActivityDesc());
101 if(beginTime > 0){ 96 if(beginTime > 0){
102 rspBO.setBeginTime(DateUtils.long2DateStr(beginTime * 1000L, DATE_TIME_FORMAT)); 97 rspBO.setBeginTime(DateUtils.long2DateStr(beginTime * 1000L, DATE_TIME_FORMAT));
103 } 98 }