Commit 9bd15feb by win7

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

parent c0cb1a80
......@@ -119,9 +119,16 @@ public class QQLoginController {
int end = resultOpenID.indexOf("}");
openid = resultOpenID.substring(start + 9, end - 1);
}
//
logger.info(token.getExpires_in());
String sendurl = yoururl + "?token=" + token.getAccess_token() + "&uid=" + openid + "&expires_in"
+ token.getExpires_in();
//
logger.info(sendurl);
response.sendRedirect(sendurl);
} 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