修复大头菜报错问题(FastJSON)
This commit is contained in:
parent
50823587dd
commit
575df40591
@ -351,7 +351,7 @@ public class TurnipProphet extends Model {
|
||||
map.put(TurnipProphet.TurnipData.MIX, tmp[15]);
|
||||
map.put(TurnipProphet.TurnipData.MAX, tmp[16]);
|
||||
} else {
|
||||
if (!array.toJavaList(String.class).contains(tmp[0])) {
|
||||
if (!array.contains(tmp[0])) {
|
||||
JSONObject json = new JSONObject();
|
||||
json.put(TurnipProphet.TurnipData.MODEL, tmp[0]);
|
||||
json.put(TurnipProphet.TurnipData.PR, tmp[1]);
|
||||
|
@ -71,7 +71,6 @@ public class Tsdm extends Model {
|
||||
WebDriver driver = WebClient.getInstance().getWebDriver();
|
||||
try {
|
||||
driver.get("https://www.tsdm39.net/forum.php");
|
||||
driver.navigate().refresh();
|
||||
getTsdm(array, driver);
|
||||
boolean isSign = false;
|
||||
for (WebElement element : driver.findElements(By.xpath("//a"))) {
|
||||
@ -125,8 +124,6 @@ public class Tsdm extends Model {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("e = " + e);
|
||||
getTsdm(array, driver);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user