Commit 837524b6 by win7

单位修改

parent b2cfd05a
...@@ -120,7 +120,7 @@ public class QQLoginController { ...@@ -120,7 +120,7 @@ public class QQLoginController {
openid = resultOpenID.substring(start + 9, end - 1); openid = resultOpenID.substring(start + 9, end - 1);
} }
Integer expiresIn=Integer.parseInt(token.getExpires_in())/3600; Integer expiresIn=Integer.parseInt(token.getExpires_in())/60;
String sendurl = yoururl + "?token=" + token.getAccess_token() + "&uid=" + openid + "&expires_in=" String sendurl = yoururl + "?token=" + token.getAccess_token() + "&uid=" + openid + "&expires_in="
+ expiresIn; + expiresIn;
......
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