Authored by mingdan.ge

广点通新户

@@ -88,8 +88,8 @@ public class GDT2019ServiceImpl extends UnionServiceImpl implements IUnionServic @@ -88,8 +88,8 @@ public class GDT2019ServiceImpl extends UnionServiceImpl implements IUnionServic
88 } 88 }
89 89
90 public String getCallbackUrl() { 90 public String getCallbackUrl() {
91 - long now = System.currentTimeMillis();  
92 - String nonce= MD5.md5(Long.toString(now)); 91 + long now = DateUtil.getCurrentTimeSeconds();
  92 + String nonce= MD5.md5(Long.toString(System.currentTimeMillis()));
93 StringBuilder url = new StringBuilder("https://api.e.qq.com/v1.0/user_actions/add?timestamp="+ now+"&nonce="+nonce); 93 StringBuilder url = new StringBuilder("https://api.e.qq.com/v1.0/user_actions/add?timestamp="+ now+"&nonce="+nonce);
94 return url.toString(); 94 return url.toString();
95 } 95 }