|
@@ -158,10 +158,14 @@ public class WechatController {
|
|
response.addCookie(cookie1);
|
|
response.addCookie(cookie1);
|
|
if (identity.equals(0)) { //用户授权
|
|
if (identity.equals(0)) { //用户授权
|
|
if (StringUtils.isBlank(userAccount.getNickname())) {
|
|
if (StringUtils.isBlank(userAccount.getNickname())) {
|
|
- response.sendRedirect(redirectPathSource.getRedirectPath(redirectCode, userAccount, id));
|
|
|
|
|
|
+ String url = redirectPathSource.getRedirectPath(redirectCode, userAccount, id);
|
|
|
|
+ logger.debug("将跳转至:"+url);
|
|
|
|
+ response.sendRedirect(url);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- response.sendRedirect(redirectPathSource.getRedirectPath(redirectCode, null, ""));
|
|
|
|
|
|
+ String url = redirectPathSource.getRedirectPath(redirectCode, null, "");
|
|
|
|
+ logger.debug("将跳转至:"+url);
|
|
|
|
+ response.sendRedirect(url);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
return;
|
|
return;
|