|
|
|
@ -79,7 +79,7 @@ public abstract class SyncAccountsJobAbstract {
|
|
|
|
|
*/
|
|
|
|
|
private static final String CERTIFICATE = "OXYwHSWAc22UPHxfIUM0SSFZwziCLmBfOzBaN+PCNp0SNfV3ewYIaWLJCCrYToCU46x3PJO8t4TXV57bGpbiqClld5DiAkQ3EX1qqxoyaE9J0HAsfnp/PkPurKMQewBHICM2oEPRyLU5GUQjTCucfLvO4xT3DKlelbjBsIkKLqs=";
|
|
|
|
|
|
|
|
|
|
public void executeSync(CJTJobRequest req) {
|
|
|
|
|
public void executeSync() {
|
|
|
|
|
CJTJobContext context = new CJTJobContext(CJT_APP_KEY, CJT_APP_SECRET);
|
|
|
|
|
try {
|
|
|
|
|
//重置ticket
|
|
|
|
@ -138,7 +138,7 @@ public abstract class SyncAccountsJobAbstract {
|
|
|
|
|
protected JSONObject getQueryCondition(){
|
|
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
|
|
LocalDateTime now = LocalDateTime.now();
|
|
|
|
|
String startTime = DateUtils.ldt2str(now.minusMinutes(10L), DateUtils.YYYY_MM_DD_HH_MM_SS);
|
|
|
|
|
String startTime = DateUtils.ldt2str(now.minusHours(10L), DateUtils.YYYY_MM_DD_HH_MM_SS);
|
|
|
|
|
String endTime = DateUtils.ldt2str(now, DateUtils.YYYY_MM_DD_HH_MM_SS);
|
|
|
|
|
Map<String, String> startTimeMap = new HashMap<>();
|
|
|
|
|
startTimeMap.put("text",startTime);
|
|
|
|
|