feat: 添加微信公众号网页授权域名验证文件路由

- 添加 /MP_verify_17Fo4JhapMw6vtNa.txt 路由
- 用于公众号后台网页授权域名验证

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-15 12:00:09 +08:00
parent 71e0826244
commit 6683e7fce7

6
app.py
View File

@@ -1888,6 +1888,12 @@ def wechat_domain_verify():
return 'd526e9e857dbd2621e5100811972e8c5', 200, {'Content-Type': 'text/plain'}
@app.route('/MP_verify_17Fo4JhapMw6vtNa.txt', methods=['GET'])
def wechat_mp_domain_verify():
"""微信公众号网页授权域名校验文件"""
return '17Fo4JhapMw6vtNa', 200, {'Content-Type': 'text/plain'}
# ============================================
# 订阅相关API接口
# ============================================