YZClient client = new DefaultYZClient(new Token("419c374××××5d382fa422e3ac43252")); //new Sign(appKey, appSecret)
YouzanItemGetParams youzanItemGetParams = new YouzanItemGetParams();
youzanItemGetParams.setItemId(342621395l);
YouzanItemGet youzanItemGet = new YouzanItemGet();
youzanItemGet.setAPIParams(youzanItemGetParams);
YouzanItemGetResult result = client.invoke(youzanItemGet);
ItemSkuOpenModel[] skus = result.getItem().getSkus();
报错
Exception in thread "main" java.lang.RuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Unexpected token (VALUE_NUMBER_INT), expected END_ARRAY: Attempted to unwrap single value array for single 'String' value but there was more than a single value in the array |
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|