Files
zlqy/.claude/settings.local.json
2026-02-27 10:37:11 +08:00

27 lines
2.0 KiB
JSON

{
"permissions": {
"allow": [
"Bash(grep:*)",
"mcp__ide__getDiagnostics",
"Bash(pip install:*)",
"Bash(timeout 10 python:*)",
"Bash(./venv/Scripts/pip install flask-socketio)",
"Bash(ls:*)",
"Bash(venv/Scripts/pip.exe install flask-socketio)",
"Bash(venv/Scripts/python.exe -m pip install:*)",
"Bash(xxd:*)",
"Bash(python:*)",
"WebSearch",
"WebFetch(domain:help.aliyun.com)",
"WebFetch(domain:dashscope.aliyuncs.com)",
"Bash(test:*)",
"Bash(find:*)",
"Bash(python3:*)",
"Bash(/c/Users/HEIHAHA/AppData/Local/Microsoft/WindowsApps/python:*)",
"Bash(cd \"D:/360MoveData/Users/HEIHAHA/Documents/WeChat Files/wxid_k0iaj5miuryq22/FileStorage/File/2026-02/超级大网站2月23号\" && py -3 cleanup.py 2>&1)",
"Bash(cd \"D:/360MoveData/Users/HEIHAHA/Documents/WeChat Files/wxid_k0iaj5miuryq22/FileStorage/File/2026-02/超级大网站2月23号\" && py -3 -c \"\nimport sys, os\nsys.path.insert\\(0, os.path.dirname\\(os.path.abspath\\('app.py'\\)\\)\\)\nfrom app import app\nfrom models import db, User\nwith app.app_context\\(\\):\n users = User.query.all\\(\\)\n for u in users:\n print\\(f'id={u.id}, name={u.name}, email={u.email}, phone={u.phone}, role={u.role}'\\)\n if not users:\n print\\('No users in database'\\)\n\" 2>&1)",
"Bash(cd \"D:/360MoveData/Users/HEIHAHA/Documents/WeChat Files/wxid_k0iaj5miuryq22/FileStorage/File/2026-02/超级大网站2月23号\" && py -3 -c \"\nimport os, glob\ntemplates = glob.glob\\('templates/*.html'\\)\ncount = 0\nfor f in templates:\n with open\\(f, 'r', encoding='utf-8'\\) as fh:\n content = fh.read\\(\\)\n if '联考平台' in content:\n new_content = content.replace\\('联考平台', '智联青云'\\)\n with open\\(f, 'w', encoding='utf-8'\\) as fh:\n fh.write\\(new_content\\)\n count += 1\n print\\(f' replaced in {f}'\\)\nprint\\(f'Done: {count} files updated'\\)\n\" 2>&1)"
]
}
}