From 1b181507f2564bfd327cc3a8e5d75a8620c3d09d Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期二, 07 二月 2023 18:37:26 +0800 Subject: [PATCH] 数据库公用方法添加 --- 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