修改跨服取数据序列化方法

DESKTOP-C3M45P4\dengdan 2025-05-13 18:40:02 +08:00
parent 8b87171a00
commit 21871f13f2
3 changed files with 2 additions and 7 deletions

View File

@ -14,7 +14,7 @@ public class PropertyItemDeserializer implements JsonDeserializer<PropertyItem>
if (type != null && type.getAsString().equals("baubles")) {
return context.deserialize(json, Baubles.class);
} else {
return null;
return context.deserialize(json, Baubles.class);
}
}
}

View File

@ -1,7 +1,7 @@
package com.ljsd.jieling.logic.dao;
@Deprecated
public class Equip{
public class Equip {
/*private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(Equip.class);
private int rebuildLevel;

View File

@ -9,11 +9,6 @@ import com.ljsd.jieling.util.UUIDEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
//@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
//@JsonSubTypes({
// @JsonSubTypes.Type(value = Baubles.class, name = "baubles")
//})
public class PropertyItem extends MongoBase {
private static final Logger LOGGER = LoggerFactory.getLogger(PropertyItem.class);