From 86df207c37502cce1b2043e1c7c0486459eef1d6 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 13 三月 2025 19:58:45 +0800 Subject: [PATCH] 党员、诉求评论基础代码 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/PayCpmstant.java | 44 +++++++++++++++++++++++++++++++++++++++----- 1 files changed, 39 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/PayCpmstant.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/PayCpmstant.java index ece926d..12a61df 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/PayCpmstant.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/PayCpmstant.java @@ -7,14 +7,48 @@ */ public class PayCpmstant { - // 微信支付统一下单url地址 + /** + * 微信支付统一下单url地址 + */ public static final String UNIFIEDORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder"; - // 微信支付默认编码格式 + /** + * 微信支付默认编码格式 + */ public static final String DEFAULT_ENCODING = "UTF-8"; - // 微信支付返回支付成功CODE + /** + * 微信支付返回支付成功CODE + */ public static final String RETURN_CODE = "SUCCESS"; - // 微信支付返回支付成功MSG + /** + * 微信支付返回支付成功MSG + */ public static final String RETURN_MSG = "OK"; - // 微信支付默认加密格式 + /** + * 微信支付默认加密格式 + */ public static final String SIGN_TYPE = "MD5"; + + /** + * 电动车商城购买商品支付回调地址 + */ + public static final String BATTERY_STORE_PAY_NOTIFY_URL = "/api/huacheng-applets/wx/batteryPayNotify"; + /** + * 电动车商城活动订单支付回调地址 + */ + public static final String BATTERY_STORE_ACTIVITY_PAY_NOTIFY_URL = "/api/huacheng-applets/wx/batteryActivityPayNotify"; + + public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund"; + + /** + * 微信支付返回支付成功的参数名字 + */ + public static final String RETURN_CODE_CODE = "return_code"; + /** + * 微信退款接口返回成功的参数名称 + */ + public static final String RESULT_CODE_CODE = "result_code"; + /** + * 微信退款接口请求key + */ + public static final String REFUND_KEY= "8A9H1B2234D7CBD0AC61B75EB274927F"; } -- Gitblit v1.7.1