From 157c69bf9d629b2dee9b302b55035eb960e9c00e Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 26 Aug 2022 17:50:13 +0800
Subject: [PATCH] 20220822
---
src/main/java/cc/mrbird/febs/pay/service/impl/UnipayServiceImpl.java | 2 +-
src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java
index 41c1090..4c0d3bb 100644
--- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java
+++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java
@@ -343,7 +343,7 @@
JSONObject jsonObject = JSONUtil.parseObj(agreementSignStr);
payResultStr = (String) jsonObject.get("biz_code");
String signBizMsg = (String) jsonObject.get("biz_msg");
- if("JS000000" != payResultStr){
+ if(!"JS000000".equals(payResultStr)){
throw new FebsException(signBizMsg);
}
}
diff --git a/src/main/java/cc/mrbird/febs/pay/service/impl/UnipayServiceImpl.java b/src/main/java/cc/mrbird/febs/pay/service/impl/UnipayServiceImpl.java
index e7fed5e..8687d41 100644
--- a/src/main/java/cc/mrbird/febs/pay/service/impl/UnipayServiceImpl.java
+++ b/src/main/java/cc/mrbird/febs/pay/service/impl/UnipayServiceImpl.java
@@ -310,7 +310,7 @@
System.out.println(jsonObject);
String biz_code = jsonObject.get("biz_code").toString();
String biz_msg = jsonObject.get("biz_msg").toString();
- if("JS000000" == biz_code){
+ if("JS000000".equals(biz_code)){
return biz_code;
}else{
return biz_msg;
--
Gitblit v1.9.1