修改跨服取数据序列化方法
parent
8b87171a00
commit
21871f13f2
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue