Explorar el Código

//update test

release_toaliyun_real
xhxu hace 4 años
padre
commit
38c5ef6c8c
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. +6
    -1
      mallinkService/src/main/java/com/iformall/douyin/web/json/TtSpuSyncAdapter.java

+ 6
- 1
mallinkService/src/main/java/com/iformall/douyin/web/json/TtSpuSyncAdapter.java Ver fichero

@@ -99,7 +99,12 @@ public class TtSpuSyncAdapter implements JsonSerializer<TtSpuSync>, JsonDeserial
spuSync.setMpSettletype(GsonHelper.getInteger(json, "mp_settle_type"));
spuSync.setOriginPrice(GsonHelper.getInteger(json, "origin_price"));
spuSync.setTakeRate(GsonHelper.getInteger(json, "take_rate"));
spuSync.setAttribute(json.getAsJsonObject("attribute"));

JsonObject attribute = json.getAsJsonObject("attribute");
if(attribute != null){
spuSync.setAttribute(attribute.getAsJsonObject("9101"));
}

spuSync.setHighlights(json.getAsJsonArray("highlights"));
spuSync.setName(GsonHelper.getString(json, "name"));



Cargando…
Cancelar
Guardar