下载地址
https://www.zhengdianxue.com/wp-content/uploads/skills/xyingsoft--neusoft-dorm-electricity.zip将提示词发送给你的 AI 安装该 skills
请根据 https://skillhub.cn/install/skillhub.md,安装 @xyingsoft/neusoft-dorm-electricity。查询大连东软信息学院软件园校区三期宿舍电费余额,支持自动登录、宿舍号查询与基础故障排查
阅读全文 (展开查看完整说明)
概述
Neusoft Dorm Electricity
Query a dormitory electricity balance through the campus payment service. Require the user's campus account, password, and dormitory room number. Treat all credentials and session data as secrets.
Setup
- Copy
config/account.template.jsontoconfig/account.json. - Enter
username,password, andcustRechNo. Use a room format such as24-A120. - Install the dependencies with
python -m pip install -r scripts/upstream/requirements.txt.
Never commit config/account.json or runtime/session_dump.json.
Query
Run:
python scripts/query_balance.pyOptionally override the configured room for a single query:
python scripts/query_balance.py --room 24-A120Return the room number, balance in CNY, remaining electricity in kWh when available, and the upstream status message. Do not expose the password, session cookie, or raw login payload.
Troubleshooting
- Missing fields: populate
username,password, andcustRechNoinconfig/account.json. - Login failure: verify campus credentials; upstream SSO changes can also cause this.
- Query failure: verify the room format and retry later when the payment service is unavailable.
- Missing
gmssl: installscripts/upstream/requirements.txt.