update pay ui

This commit is contained in:
2025-12-13 16:39:54 +08:00
parent fed393baa1
commit 4adfe1c282
4 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ ALIPAY_CONFIG = {
'alipay_public_key_path': os.path.join(_BASE_DIR, 'alipay', '支付宝公钥.txt'),
# 回调地址 - 替换为你的实际域名
'notify_url': 'https://valuefrontier.cn/api/payment/alipay/callback', # 异步通知地址(后端)
'notify_url': 'https://api.valuefrontier.cn/api/payment/alipay/callback', # 异步通知地址(后端)
'return_url': 'https://valuefrontier.cn/pricing?payment_return=alipay', # 同步跳转地址(前端页面)
# 产品码 - 电脑网站支付固定为此值

2
app.py
View File

@@ -343,7 +343,7 @@ WECHAT_ACCESS_TOKEN_PREFIX = "wechat:access_token:"
WECHAT_JSAPI_TICKET_PREFIX = "wechat:jsapi_ticket:"
# 微信回调地址
WECHAT_REDIRECT_URI = 'https://valuefrontier.cn/api/auth/wechat/callback'
WECHAT_REDIRECT_URI = 'https://api.valuefrontier.cn/api/auth/wechat/callback'
# 邮件服务配置QQ企业邮箱
MAIL_SERVER = 'smtp.exmail.qq.com'

View File

@@ -369,7 +369,7 @@ except ImportError:
'api_key': 'your_api_key', # 替换为您的API密钥
'cert_path': './certs/apiclient_cert.pem', # 证书文件路径
'key_path': './certs/apiclient_key.pem', # 密钥文件路径
'notify_url': 'https://valuefrontier.cn/api/payment/wechat/callback' # 支付结果通知回调
'notify_url': 'https://api.valuefrontier.cn/api/payment/wechat/callback' # 支付结果通知回调
}

View File

@@ -21,7 +21,7 @@ WECHAT_PAY_CONFIG = {
'key_path': os.path.join(_BASE_DIR, 'certs', 'apiclient_key.pem'),
# 回调配置
'notify_url': 'https://valuefrontier.cn/api/payment/wechat/callback',
'notify_url': 'https://api.valuefrontier.cn/api/payment/wechat/callback',
# 其他配置
'sign_type': 'MD5',