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