接入java版SDK
YZClient client = new DefaultYZClient(new Token("5808aa87138a38d19e3776b927821699"));
YouzanPayQrcodeCreateParams youzanPayQrcodeCreateParams = new YouzanPayQrcodeCreateParams();
youzanPayQrcodeCreateParams.setQrName(fundPackage.getOrderId() + ":" + fundPackage.getDesc());
youzanPayQrcodeCreateParams.setQrPrice(StringUtils.getString(fundPackage.getPayAmount().multiply(new BigDecimal(100))));
youzanPayQrcodeCreateParams.setQrType("QR_TYPE_NOLIMIT");
YouzanPayQrcodeCreate youzanPayQrcodeCreate = new YouzanPayQrcodeCreate();
youzanPayQrcodeCreate.setAPIParams(youzanPayQrcodeCreateParams);
YouzanPayQrcodeCreateResult result = client.invoke(youzanPayQrcodeCreate);
报错: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
···
回复
|
|
|
|