From 3477046445264ab06bb66972aca69566caa11ae1 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期三, 09 二月 2022 17:54:26 +0800
Subject: [PATCH] Mysql数据库AES加密工具,解密的时候判断是不是16进制的数据

---
 src/main/java/com/hx/corp/entity/CorpPayResponse.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/hx/corp/entity/CorpPayResponse.java b/src/main/java/com/hx/corp/entity/CorpPayResponse.java
index 59bd352..46d5ecf 100644
--- a/src/main/java/com/hx/corp/entity/CorpPayResponse.java
+++ b/src/main/java/com/hx/corp/entity/CorpPayResponse.java
@@ -8,7 +8,7 @@
     /*(Y)涓氬姟缁撴灉锛孲UCCESS/FAIL锛屾敞鎰忥細褰撶姸鎬佷负FAIL鏃讹紝瀛樺湪涓氬姟缁撴灉鏈槑纭殑鎯呭喌銆傚鏋滅姸鎬佷负FAIL锛岃鍔″繀鍏虫敞閿欒浠g爜锛坋rr_code瀛楁锛夛紝閫氳繃鏌ヨ鎺ュ彛纭姝ゆ浠樻鐨勭粨鏋�*/
     private String result_code = "FAIL";
     /*锛圷锛夎繑鍥炵姸鎬佺爜,SUCCESS/FAIL锛屾瀛楁鏄�氫俊鏍囪瘑锛岄潪浜ゆ槗鏍囪瘑锛屼氦鏄撴槸鍚︽垚鍔熼渶瑕佹煡鐪媟esult_code鏉ュ垽鏂�*/
-    private String return_code;
+    private String return_code = "FAIL";
     /*(Y) 杩斿洖淇℃伅 */
     private String return_msg;
     /*锛圷锛夐敊璇唬鐮�*/
@@ -36,6 +36,9 @@
     public CorpPayResponse() {
     }
 
+    public static final String CODE_SUC = "SUCCESS";
+    public static final String CODE_FAIL = "FAIL";
+
     ////////////////////////////////////////////////////////
 
     public String getMch_appid() {

--
Gitblit v1.8.0