Files
2026-05-16 15:14:25 +08:00

33 lines
1.4 KiB
Markdown
Raw Permalink 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.
# astrbot_bdzxb_bill
astrbot插件,通过微信支付宝导出账单到邮箱,然后进行解析统计
## 需要导入的包
sqlite3numpyurllib.parserequestspandaszipfileospyzipperrelxmldatetimeimaplibsecretsthreadingflaskflask_cors
---
## 配置文件
* ![alt text](image.png)
## 使用方法
1. 补充完整配置文件
2. 导出账单到邮箱
1. 微信: 点击微信支付》我的账单》账单明细》点击右上角的三个点》下载账单》用于个人对账》接受方式 选择邮箱》下一步》发送
2. 支付宝:我的》账单》点击右上角三个点》开具交易流水证明》用于个人对账》接收方式选邮箱》发送
3. 账单导出到邮箱后 引用内消息会推送解压密码给你
4. 在bot中输入指令 /mm 解压密码 解压密码 此处不区分前后顺序 最终结果会放入 插件data文件夹的zhangdan.db中,/chazhang 指令可查询最后10条数据
5. 插件提供了一个web页面展示数据(AI生成),使用/rwebui 启动服务 服务端口可根据插件配置文件修改,查看后可使用/swebui 指令关闭web服务
6. 服务器指令均需astrbot管理员权限执行
## 指令列表
* /zdhelp 获取帮助
* /mm 密码1 密码2 # 解压并记录数据
* /chazhang # 查看最后10条数据
* /rwebui 启动webui
* /swebui 关闭webui