NutzCN Logo
短点 序列化_6d2cac6c
发布于 3053天前 作者 明天会吹什么风 1637 次浏览 复制 上一个帖子 下一个帖子
标签:

查看完整内容

016-08-14 11:37:39,127  INFO com.calm.thirdapi.weixin.WeixinCardServiceImpl - api request >>> url=http://dev.weixin.shishike.com/weixinapi/createCard.json , params={"card":{"cardType":"CASH","cash":{"baseInfo":{"logoUrl":"http://mmbiz.qpic.cn/mmbiz/iaL1LJM1mF9aRKPZJkmG8xXhiaHqkKSVMMWeN3hLut7X7hicFNjakmxibMLGWpXrEXB33367o7zHN0CwngnQY7zb7g/0","codeType":"CODE_TYPE_TEXT","brandName":"南粉北面","title":"测试数据1","subTitle":"测试数据1","dateInfo":{"type":"DATE_TYPE_FIX_TERM","fixedTerm":30,"fixedBeginTerm":0,"beginTimestamp":null,"endTimestamp":null},"notice":"请出示二维码","description":"%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE1%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE1%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE1","getLimit":1,"sku":{"quantity":1000},"useAllLocations":true},"leastCost":199,"reduceCost":99,"advancedInfo":null}}} , headers={Content-Type=[application/json], brandId=[2479], secret=[e13691afcb370ed3e4ccc33c7b3e888c], _kry_global_msg_id=[null]}
2016-08-14 11:37:39,952  INFO com.calm.thirdapi.weixin.WeixinCardServiceImpl - api response >>> url=http://dev.weixin.shishike.com/weixinapi/createCard.json ,status=200, body="{\"data\":{\"errcode\":0,\"errmsg\":\"ok\",\"cardId\":\"p7W6auIo_bSNNv8UQwudgRLrbczM\"},\"time\":1471145859897,\"msg\":\"\",\"code\":\"200\"}"
2016-08-14 11:37:39,974  ERROR com.calm.b.util.JsonUtil - JsonUtil.json2Object.Exception		org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
OLc30edc104de84581bf50317e3bfa550e	 at [Source: java.io.StringReader@72a72039; line: 1, column: 1]
OLc30edc104de84581bf50317e3bfa550e		at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
OLc30edc104de84581bf50317e3bfa550e		at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219)
OLc30edc104de84581bf50317e3bfa550e		at org.codehaus.jackson.map.deser.std.StringDeserializer.deserialize(StringDeserializer.java:44)
OLc30edc104de84581bf50317e3bfa550e		at org.codehaus.jackson.map.deser.std.StringDeserializer.deserialize(StringDeserializer.java:13)
OLc30edc104de84581bf50317e3bfa550e		at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732)
OLc30edc104de84581bf50317e3bfa550e		at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1863)
OLc30edc104de84581bf50317e3bfa550e		at com.calm.b.util.JsonUtil.json2Object(JsonUtil.java:110)
OLc30edc104de84581bf50317e3bfa550e		at com.calm.thirdapi.weixin.WeixinCardServiceImpl.creatCard(WeixinCardServiceImpl.java:82)
OLc30edc104de84581bf50317e3bfa550e		at com.calm.thirdapi.weixin.WeixinCardServiceImplTest.testCreatCard(WeixinCardServiceImplTest.java:75)
OLc30edc104de84581bf50317e3bfa550e		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
OLc30edc104de84581bf50317e3bfa550e		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
OLc30edc104de84581bf50317e3bfa550e		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
OLc30edc104de84581bf50317e3bfa550e		at java.lang.reflect.Method.invoke(Method.java:601)
OLc30edc104de84581bf50317e3bfa550e		at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
OLc30edc104de84581bf50317e3bfa550e		at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
OLc30edc104de84581bf50317e3bfa550e		at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
OLc30edc104de84581bf50317e3bfa550e		at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
OLc30edc104de84581bf50317e3bfa550e		at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
0 回复
添加回复
请先登陆
回到顶部