Files
gitlab-instance-0a899031_ch…/config.py
2026-03-31 10:56:15 -05:00

28 lines
1.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
APP_ID = "fXYWvGfq04uMScP"
TOKEN = "EWRotyMHfTLAlYmCHpdH8AZcuZPBHn"
ENCODING_AES_KEY = "1wJZiJm8URfRjkHu1QfIVDeNFc2jbzzeCZqvhQecsCx"
import os
# PocketBase 自动切换策略:
# - 本地调试Windows优先使用数据库域名
# - 线上(非 Windows优先使用内网 IP+端口
# 你也可以通过环境变量 PB_URL 强制覆盖。
PB_DOMAIN_URL = "https://pocketbase.hackrobot.cn"
PB_INTERNAL_URL = "http://127.0.0.1:8090"
_pb_force = (os.getenv("PB_URL") or "").strip()
if _pb_force:
PB_URL = _pb_force
elif os.name == "nt":
PB_URL = PB_DOMAIN_URL
else:
PB_URL = PB_INTERNAL_URL
PB_ADMIN_EMAIL = "xiaoshuang.eric@gmail.com"
PB_ADMIN_PASSWORD = "Xiao4669805@"
PB_COLLECTION = "wechat_private_users"
# A 回调触发 B 接口同步的默认配置
PM_SYNC_AUTHTOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyaWQiOjE5MzE1MjcsIm9wZW5pZCI6Im85VS04NW1DSXZ0eDZ0a0pteTQyMkkzcUNHVWciLCJzaWduZXRpbWUiOjE3NzQ5MzM0NDQ4MTgsImlhdCI6MTc3NDkzMzQ0NCwiZXhwIjoxNzc3NTI1NDQ0fQ.iC9vdjBqa2LGlqA6F-Dg4GcfDyv3Rp8JwpBaO3j_eE4"
PM_SYNC_DEFAULT_WXBOT_BID = "75021053883a9090c67d5becde7f4b0a"