Browse Source

值得买

fea_dev_2023_09_07_zhidemaiAndQiHuo
yechuan 1 year ago
parent
commit
ac21771970
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/src/main/java/tech/deepq/source/spel/ZhiDeMaiRequest.java

+ 2
- 2
source/src/main/java/tech/deepq/source/spel/ZhiDeMaiRequest.java View File

@@ -33,11 +33,11 @@ public class ZhiDeMaiRequest {


private static boolean init = false; private static boolean init = false;


public long getLatestEventId(Long initEventId) {
public long getLatestEventId(String initEventId) {


if (!init && initEventId != null) { if (!init && initEventId != null) {
init = true; init = true;
return initEventId;
return Long.parseLong(initEventId);
} }


Store store = storeManager.getValueFromNsByKey("zdm", "latestEventId"); Store store = storeManager.getValueFromNsByKey("zdm", "latestEventId");


Loading…
Cancel
Save