Showing
1 changed file
with
5 additions
and
0 deletions
@@ -97,6 +97,11 @@ public class RedirectServiceImpl implements IRedirectService { | @@ -97,6 +97,11 @@ public class RedirectServiceImpl implements IRedirectService { | ||
97 | response.addCookie(cookie); | 97 | response.addCookie(cookie); |
98 | } | 98 | } |
99 | 99 | ||
100 | + Cookie cookie = new Cookie("mkt_code",union_type); | ||
101 | + cookie.setDomain("yohobuy.com"); | ||
102 | + cookie.setPath("/"); | ||
103 | + response.addCookie(cookie); | ||
104 | + | ||
100 | response.setStatus(301); | 105 | response.setStatus(301); |
101 | response.sendRedirect(redirectUrl); | 106 | response.sendRedirect(redirectUrl); |
102 | }catch (IOException e){ | 107 | }catch (IOException e){ |
-
Please register or login to post a comment