Commit 9bd15feb by win7

添加测试用日志输出1,2

parent c0cb1a80
...@@ -120,8 +120,15 @@ public class QQLoginController { ...@@ -120,8 +120,15 @@ public class QQLoginController {
openid = resultOpenID.substring(start + 9, end - 1); openid = resultOpenID.substring(start + 9, end - 1);
} }
//
logger.info(token.getExpires_in());
String sendurl = yoururl + "?token=" + token.getAccess_token() + "&uid=" + openid + "&expires_in" String sendurl = yoururl + "?token=" + token.getAccess_token() + "&uid=" + openid + "&expires_in"
+ token.getExpires_in(); + token.getExpires_in();
//
logger.info(sendurl);
response.sendRedirect(sendurl); response.sendRedirect(sendurl);
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment