Authored by LUOXC

fixbug

... ... @@ -2,6 +2,7 @@ package com.yohoufo.order.service.pay.alipay.bean;
import lombok.Data;
import lombok.Value;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
import java.math.BigDecimal;
... ... @@ -47,12 +48,15 @@ public class TtnStatusQueryResponse {
if (StringUtils.isEmpty(resData)) {
return;
}
String[] data = resData.split("|");
String[] data = StringUtils.split(resData, "|");
if (ArrayUtils.isEmpty(data)) {
return;
}
for (String e : data) {
if (StringUtils.isEmpty(e)) {
continue;
}
String[] fs = e.split("^");
String[] fs = StringUtils.splitByWholeSeparatorPreserveAllTokens(e, "^");
if (fs.length != 8) {
continue;
}
... ...