- 添加产品.md 产品说明文档 - 添加后台_接口API.json API接口定义 - 添加调试说明.txt 调试指南 - 添加 global.json .NET SDK 版本配置 - 添加 create_sfx.bat 和 sfx_config.txt 自解压打包配置 - 添加 .claude/ Claude Code 本地配置 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
60 lines
11 KiB
JSON
60 lines
11 KiB
JSON
{
|
||
"permissions": {
|
||
"allow": [
|
||
"Bash(cat:*)",
|
||
"Bash(dotnet build:*)",
|
||
"Bash(curl:*)",
|
||
"Bash(powershell -Command \"if (Test-Path \"\"$env:LOCALAPPDATA\\PackagingMallShipper\\data.db\"\") { Remove-Item \"\"$env:LOCALAPPDATA\\PackagingMallShipper\\data.db\"\" -Force; Write-Host ''已删除旧数据库文件'' } else { Write-Host ''数据库文件不存在'' }\")",
|
||
"Bash(dotnet clean:*)",
|
||
"Bash(Select-String -Pattern \"error|warning|成功|失败\")",
|
||
"Bash(Select-Object -First 20)",
|
||
"Bash(powershell -Command:*)",
|
||
"Bash(findstr:*)",
|
||
"Bash(dir:*)",
|
||
"Bash(taskkill:*)",
|
||
"Bash(dotnet --list-sdks:*)",
|
||
"Bash(start PackagingMallShipper.exe)",
|
||
"Bash(dotnet restore:*)",
|
||
"Bash(TestApi.exe:*)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" status)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" diff --stat)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" log --oneline -3)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add .gitignore PackagingMallShipper/App.config PackagingMallShipper/Data/SqliteHelper.cs PackagingMallShipper/Models/ApiResponses.cs PackagingMallShipper/Models/Order.cs PackagingMallShipper/PackagingMallShipper.csproj PackagingMallShipper/Services/AuthService.cs PackagingMallShipper/Services/ExcelService.cs PackagingMallShipper/Services/Interfaces.cs PackagingMallShipper/Services/OrderService.cs PackagingMallShipper/Services/SyncService.cs PackagingMallShipper/ViewModels/LoginViewModel.cs PackagingMallShipper/Views/LoginWindow.xaml PackagingMallShipper/Views/LoginWindow.xaml.cs PackagingMallShipper/Views/OrderListView.xaml README.md PackagingMallShipper/FodyWeavers.xml PackagingMallShipper/Resources/Icons/ setup.iss build_installer.bat)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfeat: 完善登录验证码、订单同步和打包功能\n\n- 添加验证码登录支持(图形验证码显示和输入)\n- 修复订单同步,正确解析收件人信息(从logisticses合并)\n- 修复API端点配置(user.api.it120.cc)\n- 添加Costura.Fody实现单文件EXE打包\n- 添加应用图标(app.ico)\n- 添加Inno Setup安装脚本(支持Win7+)\n- 暂时禁用导入发货功能\n- 添加.gitignore文件\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" config user.email \"admin@packagingmall.com\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" config user.name \"Administrator\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" push)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add PackagingMallShipper/Views/LoginWindow.xaml PackagingMallShipper/ViewModels/OrderListViewModel.cs)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfix: 登录窗口可调整大小,修复异步警告\n\n- 登录窗口支持调整大小(最小400x300,最大600x500)\n- 修复BatchShipSelected方法的CS1998异步警告\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add PackagingMallShipper/ViewModels/OrderListViewModel.cs PackagingMallShipper/Views/OrderListView.xaml)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfeat: 添加自动同步和新订单通知功能\n\n- 每30分钟自动增量同步订单\n- 新订单到达时播放提示音、任务栏闪烁\n- 窗口不在前台时弹出Toast通知(5秒后自动关闭)\n- 界面右上角显示自动同步开关和倒计时(每秒更新)\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add PackagingMallShipper/ViewModels/OrderListViewModel.cs)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfeat: 添加订单超时提醒功能\n\n- 订单同步入库后超过48小时未发货自动弹出警告\n- 显示超时订单详情(订单号、收件人、等待时长)\n- 播放系统警告音、任务栏闪烁\n- 关闭提醒后每小时重复提醒,直到订单发货\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add PackagingMallShipper/PackagingMallShipper.csproj setup.iss)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nchore: 降级到 .NET Framework 4.6.2 以支持 Windows 7\n\n- 将 TargetFramework 从 net48 改为 net462\n- 更新 setup.iss 中的 .NET 版本检测为 4.6.2\n- 修改安装程序提示信息和下载链接\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(if not exist \"publish\\x64\" mkdir \"publish\\x64\")",
|
||
"Bash(if not exist \"publish\\x86\" mkdir \"publish\\x86\")",
|
||
"Bash(copy /Y \"PackagingMallShipper\\bin\\Release\\net462\\PackagingMallShipper.exe\" \"publish\"\" && copy /Y \"PackagingMallShipperbinReleasenet462PackagingMallShipper.exe.config\" \"publish\"\")",
|
||
"Bash(copy /Y \"PackagingMallShipper\\bin\\Release\\net462\\x64\\SQLite.Interop.dll\" \"publish\\x64\"\" && copy /Y \"PackagingMallShipperbinReleasenet462x86SQLite.Interop.dll\" \"publishx86\"\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add PackagingMallShipper/App.config README.md build_installer.bat BUILD_INSTALLER.md \"轻量级订单发货客户端方案.md\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\ndocs: 更新文档中的 .NET Framework 版本为 4.6.2\n\n- 更新 README.md 中的技术栈、系统要求和编译输出路径\n- 更新 BUILD_INSTALLER.md 中的兼容性说明和下载链接\n- 更新轻量级订单发货客户端方案.md 中的所有版本引用\n- 更新 build_installer.bat 自动编译和复制流程\n- 修复 App.config 中的 supportedRuntime 版本\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add setup.iss PackagingMallShipper/Models/Order.cs PackagingMallShipper/Services/ExcelService.cs)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfix: 优化 Windows 7 兼容性,调整 Excel 导出模板\n\n- setup.iss: 改用 classic 向导样式,降低 MinVersion 要求\n- setup.iss: 添加 x86/x64 架构支持声明\n- Excel 导出: 移除\"订单金额\"列,新增\"数量\"列\n- Order 模型: 添加 TotalQuantity 属性计算商品总数量\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add release.bat BUILD_INSTALLER.md \"轻量级订单发货客户端方案.md\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfeat: 添加版本管理发布脚本,修复文档版本号\n\n- 新增 release.bat 一键发布脚本\n - 交互式版本号选择(保持/补丁+1/次版本+1/主版本+1/自定义)\n - 自动更新 csproj 和 setup.iss 中的版本号\n - 自动编译、复制文件、生成安装包\n- 更新 BUILD_INSTALLER.md 添加发布脚本使用说明\n- 修复 轻量级订单发货客户端方案.md 中的 .NET 版本号(4.8 -> 4.6.2)\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add PackagingMallShipper/Views/OrderListView.xaml)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfeat: 订单列表添加商品信息和数量列\n\n- 在\"地址\"列后、\"金额\"列前新增\"商品信息\"和\"数量\"两列\n- 商品信息显示格式:商品名x数量; ...\n- 数量列显示订单商品总数\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add PackagingMallShipper/Services/ExcelService.cs)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfix: Excel导出\"详细地址\"改为\"收货地址\",显示完整拼接地址\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add release.bat)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfix: 修复 release.bat 版本号读取问题\n\n- 切换到脚本所在目录确保路径正确\n- 使用 type | findstr 替代直接 findstr 读取文件\n- 添加版本号读取失败的错误处理\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(cmd.exe /c \"release.bat\")",
|
||
"Bash(cmd.exe /c \"call release.bat\")",
|
||
"Bash(powershell -File - <<'PSEOF'\n$file = 'c:/Users/Administrator/code/PackagingMallShipper/release.bat'\n$content = [System.IO.File]::ReadAllText($file)\n$content = $content -replace \"`r`n\", \"`n\"\n$content = $content -replace \"`n\", \"`r`n\"\n[System.IO.File]::WriteAllText($file, $content)\nWrite-Host \"Done\"\nPSEOF)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfix: 修复 release.bat 路径和版本读取问题\n\n- 使用延迟扩展处理包含括号的路径 (x86)\n- 修正版本号解析 token 索引 (tokens=3)\n- 移除中文注释避免编码问题\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" add setup.iss PackagingMallShipper/PackagingMallShipper.csproj)",
|
||
"Bash(git -C \"c:/Users/Administrator/code/PackagingMallShipper\" commit -m \"$(cat <<''EOF''\nfix: 修复 setup.iss 和 csproj 文件编码问题\n\n- 恢复 setup.iss 中损坏的中文和代码格式\n- 恢复 csproj 中损坏的中文注释\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")"
|
||
]
|
||
}
|
||
}
|