mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-10 23:47:44 +08:00
代码优化
This commit is contained in:
@@ -277,7 +277,7 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> {
|
||||
|
||||
for (Map.Entry<String, Object> entry : orderInfo.entrySet()) {
|
||||
Object o = entry.getValue();
|
||||
if (null == o || "null".equals(o) || "".equals(o)) {
|
||||
if (StringUtils.isEmpty((String)o) || "null".equals(o) ) {
|
||||
continue;
|
||||
}
|
||||
formHtml.append("<input type=\"hidden\" name=\"" + entry.getKey() + "\" value=\"" + o + "\"/>");
|
||||
|
||||
Reference in New Issue
Block a user