Authored by mingdan.ge

广点通新户

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