This commit is contained in:
eric
2025-12-18 02:06:35 -06:00
parent 9523d311f8
commit 42d783ed69
301 changed files with 117756 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ async def payh5(item: dict):
name = type_map.get(item.get('type'), "商品支付")
# notify_url = "https://www.hackrobot.cn/xorpay_notify" # 建议使用完整路径,避免冲突
notify_url = "https://d25ce329c4d7.ngrok-free.app/xorpay_notify" # 建议使用完整路径,避免冲突
notify_url = "https://api.hackrobot.cnp/xorpay_notify" # 建议使用完整路径,避免冲突
params = {
"name": name,
@@ -221,7 +221,7 @@ async def xorpay_notify(request: Request):
pay_type = "unknown"
print(f"支付成功用户ID: {user_id},类型: {pay_type},订单: {order_id}")
# 在解析完 pay_type 后,只有 vip 才调用
if pay_type == "vip":
create_memos_user(user_id) # 直接传 user_id密码默认 123456