idm获取用户信息优化时间戳
This commit is contained in:
@@ -34,7 +34,7 @@ public class SyncUserService {
|
|||||||
do {
|
do {
|
||||||
Map<String, Object> params = new HashMap<String, Object>();
|
Map<String, Object> params = new HashMap<String, Object>();
|
||||||
params.put("cookie", Base64.encodeBase64String(cookie));
|
params.put("cookie", Base64.encodeBase64String(cookie));
|
||||||
params.put("timestamp", "20141125065609Z");
|
params.put("timestamp", System.currentTimeMillis());
|
||||||
|
|
||||||
// 用户参数
|
// 用户参数
|
||||||
params.put("filter", "(userid=*)");
|
params.put("filter", "(userid=*)");
|
||||||
@@ -81,7 +81,7 @@ public class SyncUserService {
|
|||||||
do {
|
do {
|
||||||
Map<String, Object> params = new HashMap<String, Object>();
|
Map<String, Object> params = new HashMap<String, Object>();
|
||||||
params.put("cookie", Base64.encodeBase64String(cookie));
|
params.put("cookie", Base64.encodeBase64String(cookie));
|
||||||
params.put("timestamp", "20141125065609Z");
|
params.put("timestamp", System.currentTimeMillis());
|
||||||
|
|
||||||
// 组织参数
|
// 组织参数
|
||||||
params.put("filter", "(orgNumber=*)");
|
params.put("filter", "(orgNumber=*)");
|
||||||
@@ -113,6 +113,4 @@ public class SyncUserService {
|
|||||||
} while (cookie != null);
|
} while (cookie != null);
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user