java sdk2.0.2,
OAuth oauth = OAuthFactory.create(OAuthType.SELF, new OAuthContext("clientId", "clientSecret", 111L));
System.out.println(JsonUtils.toJson(oauth.getToken()));报错
YZClient client = new DefaultYZClient(new Token("")); //new Sign(appKey, appSecret)
YouzanItemsInventoryGetParams youzanItemsInventoryGetParams = new YouzanItemsInventoryGetParams();
youzanItemsInventoryGetParams.setPageNo(1L);
youzanItemsInventoryGetParams.setPageSize(10L);
youzanItemsInventoryGetParams.setOrderBy("asc");
YouzanItemsInventoryGet youzanItemsInventoryGet = new YouzanItemsInventoryGet();
youzanItemsInventoryGet.setAPIParams(youzanItemsInventoryGetParams);
YouzanItemsInventoryGetResult result = client.invoke(youzanItemsInventoryGet);
也报错
Exception in thread "main" java.lang.VerifyError: class com.youzan.open.sdk.util.json.MyNumberDeserializers$BooleanDeserializer overrides final method _parseBoolean.(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/lang/Boolean;
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|