Prechádzať zdrojové kódy

fix:"优化汇聚入网反馈结果"

soobin 1 mesiac pred
rodič
commit
8428fe4d3a

+ 2 - 2
src/main/java/com/szwl/service/impl/TJoinpayMchServiceImpl.java

@@ -964,7 +964,7 @@ public class TJoinpayMchServiceImpl extends ServiceImpl<TJoinpayMchMapper, TJoin
             String respCode = jsonObject.getString("resp_code");
             String respMsg = jsonObject.getString("resp_msg");
             joinpayMch.setRespCode(respCode);
-            if (JoinpayConstant.resp_code1.equals(respCode)) {
+            if (StringUtils.isNotEmpty(respCode)) {
                 // 受理成功
                 if (jsonObject.has("data")) {
                     org.json.JSONObject data = jsonObject.getJSONObject("data");
@@ -1072,7 +1072,7 @@ public class TJoinpayMchServiceImpl extends ServiceImpl<TJoinpayMchMapper, TJoin
             String respCode = jsonObject.getString("resp_code");
             String respMsg = jsonObject.getString("resp_msg");
             joinpayMch.setRespCode(respCode);
-            if (JoinpayConstant.resp_code1.equals(respCode)) {
+            if (StringUtils.isNotEmpty(respCode)) {
                 // 受理成功
                 if (jsonObject.has("data")) {
                     org.json.JSONObject data = jsonObject.getJSONObject("data");