This commit is contained in:
doudou201703
2026-08-06 20:39:45 +08:00
parent 046fac6dc1
commit 3ff0faebb9
38 changed files with 1029 additions and 611 deletions
@@ -17,12 +17,15 @@ from django.conf import settings
平台证书 = Path(settings.BASE_DIR).joinpath("wechat_微信支付证书/江苏六果科技有限公司支付证书/sixgou_ping_tai_zheng_shu_cert.pem").read_text()
微信支付公钥 = Path(settings.BASE_DIR).joinpath("wechat_微信支付证书/江苏六果科技有限公司支付证书/微信支付公钥.pem").read_text()
class sixpay六果科技公司:
"""微信支付参数:江苏六果科技有限公司 信息"""
public_key = 公钥证书 # 公钥
private_key = 私钥证书 # 钥私
wechat_certificate = 平台证书 # 平台证书
pem微信支付公钥 = 微信支付公钥
mchid = "1700383419" # 江苏六果科技有限公司商户号(微信支付商户号)
serial_no = "530160D54E8F56726F506DEE40D7FA49A558E8E0" # 江苏六果科技有限公司 商户证书序列号
appsecret = "8691f774e3c0c5a876b21a3e84109ef0" # 未生成 微信支付=>小程序密钥(小程序注册)
@@ -31,6 +34,7 @@ class sixpay六果科技公司:
appid = "wxf612e825377328f0"
get_method = "GET" # 请求方法常量
post_method = "POST" # 请求方法常量 wechatPay
微信支付公钥ID = "PUB_KEY_ID_0117003834192026080500181856002000"
class sixWeCom企业微信:
@@ -43,4 +47,3 @@ class sixWeCom企业微信:
if __name__ == "__main__":
pass
print(私钥证书)