|
|
@@ -17,9 +17,6 @@ import com.fasterxml.jackson.databind.JsonNode;
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
import com.fasterxml.jackson.databind.type.TypeFactory;
|
|
|
import com.ydtech.modules.base.model.dto.BaseDto;
|
|
|
-import com.ydtech.modules.ins.model.guoRen.CarPriceResp;
|
|
|
-import com.ydtech.modules.ins.model.guoRen.InsuranceSlipResp;
|
|
|
-import com.ydtech.modules.ins.model.guoRen.ResponseDto;
|
|
|
import org.springframework.util.Assert;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
@@ -227,10 +224,10 @@ public final class JsonUtils {
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
- String result = "{\"PLATFORM_STS\":\"0\",\"PLATFORM_TYPE\":\"3\",\"PLATFORM_CODE\":\"T0000000\",\"PLATFORM_MSG\":\"服务转接成功。\",\"RESPONSE_BODY\":{\"resultCode\":1,\"resultMsg\":null,\"data\":null}}";
|
|
|
- ResponseDto rest = JSON.parseObject(result, ResponseDto.class);
|
|
|
- CarPriceResp resp = ResponseDto.buildBody(rest, CarPriceResp.class);
|
|
|
- System.err.println("222222222222");
|
|
|
+// String result = "{\"PLATFORM_STS\":\"0\",\"PLATFORM_TYPE\":\"3\",\"PLATFORM_CODE\":\"T0000000\",\"PLATFORM_MSG\":\"服务转接成功。\",\"RESPONSE_BODY\":{\"resultCode\":1,\"resultMsg\":null,\"data\":null}}";
|
|
|
+// ResponseDto rest = JSON.parseObject(result, ResponseDto.class);
|
|
|
+// CarPriceResp resp = ResponseDto.buildBody(rest, CarPriceResp.class);
|
|
|
+// System.err.println("222222222222");
|
|
|
}
|
|
|
|
|
|
|