Showing
1 changed file
with
18 additions
and
17 deletions
@@ -170,23 +170,24 @@ public class ActivateUnionRest { | @@ -170,23 +170,24 @@ public class ActivateUnionRest { | ||
170 | 170 | ||
171 | @RequestMapping("/addActivate") | 171 | @RequestMapping("/addActivate") |
172 | @ResponseBody public ActiveUnionResponseBO activate(HttpServletRequest request) { | 172 | @ResponseBody public ActiveUnionResponseBO activate(HttpServletRequest request) { |
173 | - JSONObject j = new JSONObject(); | ||
174 | - j.put("apptype", StringUtils.defaultString(request.getParameter("DEVICETYPE"))); | ||
175 | - j.put("appid", StringUtils.defaultString(request.getParameter("APPSTOREID"))); | ||
176 | - j.put("idfa", StringUtils.defaultString(request.getParameter("IDFA"))); | ||
177 | - j.put("imei", StringUtils.defaultString(request.getParameter("IMEI"))); | ||
178 | - j.put("udid", StringUtils.defaultString(request.getParameter("UDID"))); | ||
179 | - String EVENTTIME = StringUtils.defaultString(request.getParameter("EVENTTIME"), "0"); | ||
180 | - EVENTTIME = DateUtil.long2DateStr(Long.parseLong(EVENTTIME), DateUtil.DATE_TIME_FORMAT); | ||
181 | - j.put("dateid", EVENTTIME); | ||
182 | - j.put("source", StringUtils.defaultString(request.getParameter("ADNETNAME"))); | ||
183 | - j.put("ip", StringUtils.defaultString(request.getParameter("IP"))); | ||
184 | - j.put("collect_ip", ""); | ||
185 | - j.put("app_key", StringUtils.defaultString(request.getParameter("app_key"), "yohobuy")); | ||
186 | - j.put("active_type", "90"); | ||
187 | - j.put("tdid", StringUtils.defaultString(request.getParameter("TDID"))); | ||
188 | - j.put("tdsource", "1"); | ||
189 | - activeDingdang.info(j.toString()); | 173 | + //TD停掉,不做任何处理,直接返回 |
174 | +// JSONObject j = new JSONObject(); | ||
175 | +// j.put("apptype", StringUtils.defaultString(request.getParameter("DEVICETYPE"))); | ||
176 | +// j.put("appid", StringUtils.defaultString(request.getParameter("APPSTOREID"))); | ||
177 | +// j.put("idfa", StringUtils.defaultString(request.getParameter("IDFA"))); | ||
178 | +// j.put("imei", StringUtils.defaultString(request.getParameter("IMEI"))); | ||
179 | +// j.put("udid", StringUtils.defaultString(request.getParameter("UDID"))); | ||
180 | +// String EVENTTIME = StringUtils.defaultString(request.getParameter("EVENTTIME"), "0"); | ||
181 | +// EVENTTIME = DateUtil.long2DateStr(Long.parseLong(EVENTTIME), DateUtil.DATE_TIME_FORMAT); | ||
182 | +// j.put("dateid", EVENTTIME); | ||
183 | +// j.put("source", StringUtils.defaultString(request.getParameter("ADNETNAME"))); | ||
184 | +// j.put("ip", StringUtils.defaultString(request.getParameter("IP"))); | ||
185 | +// j.put("collect_ip", ""); | ||
186 | +// j.put("app_key", StringUtils.defaultString(request.getParameter("app_key"), "yohobuy")); | ||
187 | +// j.put("active_type", "90"); | ||
188 | +// j.put("tdid", StringUtils.defaultString(request.getParameter("TDID"))); | ||
189 | +// j.put("tdsource", "1"); | ||
190 | +// activeDingdang.info(j.toString()); | ||
190 | return new ActiveUnionResponseBO(); | 191 | return new ActiveUnionResponseBO(); |
191 | } | 192 | } |
192 | 193 |
-
Please register or login to post a comment