From 220f21a574d70a381e8a928c6a0b7893b723bf18 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期二, 09 十一月 2021 19:53:09 +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