diff --git a/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java b/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java index aa70e65e..cfd5c24a 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java @@ -96,7 +96,8 @@ public class CzOrderController { response.setCharacterEncoding("UTF-8"); response.setContentType("text/html;charset=utf-8"); PrintWriter writer= response.getWriter(); - writer.write("success"); + writer.write("SUCCESS"); + } catch (Exception e) { log.error("WechatPayController --> wechatNotify() error!", e); diff --git a/hai-service/src/main/resources/dev/commonConfig.properties b/hai-service/src/main/resources/dev/commonConfig.properties index 0d0c9c35..1adeb3bb 100644 --- a/hai-service/src/main/resources/dev/commonConfig.properties +++ b/hai-service/src/main/resources/dev/commonConfig.properties @@ -52,7 +52,7 @@ TelApiSecret=d11ee9b41e014a039f030e53ae6f5295 TelMemberId=d13091df65d64aafbf0f35d2093157b7 // Mobile -CzNotifyUrl = https://hsgcs.dctpay.com/crest/czOrder/orderRefundNotify +CzNotifyUrl = https://hsgcs.dctpay.com/crest/czOrder/rechargeCallback CzAppKey = eaomqcbpdz7yjfih CzUrl = https://hfcs.dmjvip.com/index.php/third/mobile/createOrder CzAppSecret = xkf9eoq2cjh6uvzp0mtrga134lnibdw8 diff --git a/hai-service/src/main/resources/prod-9401/commonConfig.properties b/hai-service/src/main/resources/prod-9401/commonConfig.properties index 3f5def1b..cf0e2b8c 100644 --- a/hai-service/src/main/resources/prod-9401/commonConfig.properties +++ b/hai-service/src/main/resources/prod-9401/commonConfig.properties @@ -42,3 +42,9 @@ wx_cert=/home/project/wx_cert/ TelApiKey=2d01f6b520254b1a80f6b167832cea18 TelApiSecret=d11ee9b41e014a039f030e53ae6f5295 TelMemberId=d13091df65d64aafbf0f35d2093157b7 + + +CzNotifyUrl = https://hsg.dctpay.com/crest/czOrder/rechargeCallback +CzAppKey = p429mlj3cvn5hb07 +CzUrl = https://jj.dmjvip.com/index.php/third/mobile/createOrder +CzAppSecret = bf57pnqy8mkexr0v169c3g4odazwu2ij diff --git a/hai-service/src/main/resources/prod/commonConfig.properties b/hai-service/src/main/resources/prod/commonConfig.properties index 1b1e4654..f45b17a6 100644 --- a/hai-service/src/main/resources/prod/commonConfig.properties +++ b/hai-service/src/main/resources/prod/commonConfig.properties @@ -44,7 +44,7 @@ TelApiSecret=d11ee9b41e014a039f030e53ae6f5295 TelMemberId=d13091df65d64aafbf0f35d2093157b7 // Mobile -CzNotifyUrl = https://hsg.dctpay.com/crest/czOrder/orderRefundNotify +CzNotifyUrl = https://hsg.dctpay.com/crest/czOrder/rechargeCallback CzAppKey = p429mlj3cvn5hb07 CzUrl = https://jj.dmjvip.com/index.php/third/mobile/createOrder CzAppSecret = bf57pnqy8mkexr0v169c3g4odazwu2ij