docs: 添加产品文档、API接口文档和配置文件
- 添加产品.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>
This commit is contained in:
59
.claude/settings.local.json
Normal file
59
.claude/settings.local.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"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)\")"
|
||||
]
|
||||
}
|
||||
}
|
||||
48
create_sfx.bat
Normal file
48
create_sfx.bat
Normal file
@@ -0,0 +1,48 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
echo ========================================
|
||||
echo 创建 7z 自解压安装包
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
set "SEVENZIP=C:\Program Files\7-Zip\7z.exe"
|
||||
|
||||
if not exist "%SEVENZIP%" (
|
||||
echo [错误] 未找到 7-Zip
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
:: 创建临时 7z 包
|
||||
echo [1/3] 创建压缩包...
|
||||
"%SEVENZIP%" a -t7z -mx=9 "installer\app.7z" ".\publish\*" -r
|
||||
|
||||
:: 检查 SFX 模块
|
||||
set "SFX_MODULE=C:\Program Files\7-Zip\7zSD.sfx"
|
||||
if not exist "%SFX_MODULE%" (
|
||||
echo.
|
||||
echo [提示] 7zSD.sfx 模块不存在,将创建普通压缩包
|
||||
echo.
|
||||
move "installer\app.7z" "installer\PackagingMallShipper_v1.0.0.7z"
|
||||
echo [完成] 已创建: installer\PackagingMallShipper_v1.0.0.7z
|
||||
goto :end
|
||||
)
|
||||
|
||||
:: 合并为自解压 EXE
|
||||
echo [2/3] 创建自解压程序...
|
||||
copy /b "%SFX_MODULE%" + "sfx_config.txt" + "installer\app.7z" "installer\PackagingMallShipper_SFX_v1.0.0.exe"
|
||||
|
||||
:: 清理临时文件
|
||||
echo [3/3] 清理临时文件...
|
||||
del "installer\app.7z"
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo [成功] 自解压安装包已创建!
|
||||
echo.
|
||||
echo 位置: installer\PackagingMallShipper_SFX_v1.0.0.exe
|
||||
echo ========================================
|
||||
|
||||
:end
|
||||
echo.
|
||||
pause
|
||||
6
global.json
Normal file
6
global.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "6.0.428",
|
||||
"rollForward": "latestMinor"
|
||||
}
|
||||
}
|
||||
5
sfx_config.txt
Normal file
5
sfx_config.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
;!@Install@!UTF-8!
|
||||
Title="包装商城发货助手 v1.0.0"
|
||||
BeginPrompt="是否安装 包装商城发货助手?"
|
||||
RunProgram="PackagingMallShipper.exe"
|
||||
;!@InstallEnd@!
|
||||
76
产品.md
Normal file
76
产品.md
Normal file
@@ -0,0 +1,76 @@
|
||||
# 成都邮电鸡蛋托套装报价表(2025-12-28)
|
||||
|
||||
> 备注:
|
||||
> 1. 开具 13% 的增值税专票;
|
||||
> 2. 四川范围内 9.6 m 以上车送货,送货费 20–40 元/方,包卸货;
|
||||
> 3. 纸箱为高标准配置,高于网上常规配置;
|
||||
> 4. 网络店铺可搜索淘宝第一名:捷合农产品包装。
|
||||
|
||||
---
|
||||
|
||||
## 一、主表(按套装规格)
|
||||
|
||||
| 序号 | 产品系列 | 产品名称 | 货品编号 | 放置方式 | 蛋托+盖板厚度(mm) | 孔径尺寸(mm) | 纸箱尺寸(mm) | 适用蛋型 | 打包数量(套) | 自提开票(元/套) | 快递开票(元/套) | 网上头部店铺价(不含票) | 包价格(元/箱) |
|
||||
|----|-----------|-----------------------------|--------------------------------------------------------------|------------|------------------|--------------|--------------|----------|--------------|----------------|----------------|----------------------|--------------|
|
||||
| 1 | 20 枚竖大 | 20 枚竖大鸡蛋托+纸箱(12 套) | 1222003×12+13222003×24+1322003×12+0000000×12 | 竖放不粘底 | 10+60+10 | 35–45 | 285×233×91 | 大鸡蛋 | 12 | 2.5157 | 3.2407 | — | 38.8880 |
|
||||
| 2 | 30 枚竖中 | 30 枚竖中鸡蛋托+纸箱(12 套) | 1223001×12+1323001×12+13223001×24+0000000×12 | 竖放不粘底 | 10+58+10 | 36–41 | 312×264×91 | 中小鸡蛋 | 12 | 3.2625 | 3.9875 | 5.9 | 47.8499 |
|
||||
| 3 | 30 枚竖中彩箱 | 30 枚竖中彩箱(6 套) | 1223004×6+1323001×6+13223001×12+0000000×6 | 竖放不粘底 | 15+65+15 | 36–41 | 310×260×110 | 中小鸡蛋 | 6 | 4.43 | 5.88 | — | 35.28 |
|
||||
| 4 | 加厚 30 枚竖中 | 加厚 30 枚竖中(6 套) | 122300101×6+13200101×6+1322300101×12+0000000×6 | 竖放不粘底 | 10+58+10 | 36–41 | 312×264×91 | 中小鸡蛋 | 6 | 4.0517 | 5.835 | — | 35.01 |
|
||||
| 5 | 30 枚横中 | 30 枚横中鸡蛋托+纸箱(10 套) | 1223002×10+1323002×10+13223002×10+0000000×10 | 横放粘底 | 10+46+10 | 42–65 | 338×288×79 | 中偏大 | 10 | 3.3471 | 4.5571 | 7.4 | 45.5709 |
|
||||
| 6 | 30 枚竖大上开口 | 30 枚竖大上开口箱(8 套) | 1323003×8+13223003×16+1223005×8+0000000×8 | 竖放不粘底 | 10+60+10 | 35–45 | 340×280×90 | 大鸡蛋 | 8 | 3.8663 | 4.9538 | — | 39.63 |
|
||||
| 7 | 30 枚竖大 | 30 枚竖大鸡蛋托+纸箱(10 套) | 1323003×10+13223003×20+1223003×10+0000000×10 | 竖放不粘底 | 10+60+10 | 35–45 | 335×285×91 | 大鸡蛋 | 10 | 3.3492 | 4.2192 | 6 | 42.1918 |
|
||||
| 8 | 40 枚竖大 | 40 枚竖大鸡蛋托+纸箱(8 套) | 1322003×16+13222003×24+1224003×8+0000000×8 | 竖放不粘底 | (10+60)×2+10 | 35–45 | 285×233×165 | 大鸡蛋 | 8 | 4.0375 | 5.125 | — | 41.00 |
|
||||
| 9 | 50 枚竖中 | 50 枚竖中鸡蛋托+纸箱(6 套) | 1225001×6+1322501×12+13222501×18+0000000×6 | 竖放不粘底 | (10+57)×2+10 | 36–41 | 262×262×155 | 中小鸡蛋 | 6 | 4.4548 | 5.9048 | 8.5 | 35.4287 |
|
||||
|10 | 50 枚横中 | 50 枚横中鸡蛋托+纸箱(6 套) | 1225002×6+1322502×12+13222502×6+0000000×6 | 横放粘底 | (10+46)×2+10 | 42–65 | 288×288×135 | 中偏大 | 6 | 4.81 | 6.8267 | 5.5 | 40.96 |
|
||||
|11 | 50 枚竖大 | 50 枚竖大鸡蛋托+纸箱(6 套) | 1322503×12+13222503×18+0000000×6+1225003×6 | 竖放不粘底 | (10+60)×2+10 | 35–45 | 285×285×162 | 大鸡蛋 | 6 | 5.0206 | 6.4706 | 10.5 | 38.8238 |
|
||||
|12 | 60 枚竖中 | 60 枚竖中鸡蛋托+纸箱(6 套) | 1226001×6+1323001×12+13223001×18+0000000×6 | 竖放不粘底 | (10+58)×2+10 | 36–41 | 312×262×159 | 中小鸡蛋 | 6 | 4.8707 | 6.3541 | 9.5 | 38.1243 |
|
||||
|13 | 60 枚横中 | 60 枚横中鸡蛋托+纸箱(5 套) | 1226002×5+1323002×10+13223002×5+0000000×5 | 横放粘底 | (10+46)×2+10 | 42–65 | 338×288×135 | 中偏大 | 5 | 5.4791 | 7.2591 | 11.5 | 36.2957 |
|
||||
|14 | 60 枚竖大 | 60 枚竖大鸡蛋托+纸箱(6 套) | 1323003×12+13223003×18+1226003×6+0000000×6 | 竖放不粘底 | (10+60)×2+10 | 45 | 335×285×165 | 大鸡蛋 | 6 | 5.5683 | 7.0183 | — | 42.11 |
|
||||
|15 |100 枚竖中 |100 枚竖中鸡蛋托+纸箱(4 套) |12210001×4+1322501×16+13222501×20+0000000×4 | 竖放不粘底 | (10+57)×4+10 | 36–41 | 262×262×291 | 中小鸡蛋 | 4 | 7.2902 | 9.4652 | 14.5 | 37.8609 |
|
||||
|16 |100 枚横中 |100 枚横中鸡蛋托+纸箱(4 套) |12210002×4+1322502×16+13222502×4+0000000×4 | 横放粘底 | (10+46)×4+10 | 42–65 | 288×288×247 | 中偏大 | 4 | 7.925 | 10.95 | 14.5 | 43.8 |
|
||||
|17 |100 枚竖大 |100 枚竖大鸡蛋托+纸箱(4 套) |1322503×16+13222503×20+0000000×4+12210003×4 | 竖放不粘底 | (10+60)×4+10 | 45 | 285×285×302 | 大鸡蛋 | 4 | 8.3210 | 10.4960 | 16.5 | 41.9839 |
|
||||
|
||||
---
|
||||
|
||||
### 皮蛋/鸭蛋系列
|
||||
|
||||
| 类别 | 产品名称 | 货品编号 | 放置方式 | 厚度(mm) | 孔径(mm) | 纸箱尺寸(mm) | 适用规格 | 套/箱 | 自提开票(元/套) | 快递开票(元/套) | 包价格(元/箱) |
|
||||
|------|----------|--------------------------------------------------------|----------|-----------|----------|---------------|----------|--------|------------------|------------------|----------------|
|
||||
| 皮蛋 | 20 枚皮蛋托+纸箱(6 套) | 232001×6+332001×6 | 竖放 | 10+70+10 | 55 | 340×275×105 | 大皮蛋 | 6 | 4.15 | 6.1667 | 37.00 |
|
||||
| 皮蛋 | 30 枚皮蛋托+纸箱(5 套) | 233001×5+333001×5 | 竖放 | (10+70)+10 | 52 | 320×195×185 | 中皮蛋 | 5 | 4.52 | 6.4 | 32.00 |
|
||||
| 皮蛋 | 40 枚皮蛋托+纸箱(3 套) | 234001×3+332001×6 | 竖放 | (10+70)+10 | 55 | 340×280×195 | 大皮蛋 | 3 | 6.8667 | 10 | 30.00 |
|
||||
| 鸭蛋 | 20 枚鸭蛋托+纸箱(6 套) | S322001×6+S232001×6 | 竖放 | 10+65+10 | 45 | 285×235×106 | 大中鸭蛋 | 6 | 3.4683 | 4.9183 | 29.51 |
|
||||
| 鸭蛋 | 30 枚鸭蛋托+纸箱(6 套) | S321501×12+S233001×6 | 竖放 | (10+65)×2+10 | 45 | 285×180×185 | 大中鸭蛋 | 6 | 4.5580 | 6.0080 | 36.0478 |
|
||||
| 鸭蛋 | 40 枚鸭蛋托+纸箱(5 套) | S322001×10+S234001×5 | 竖放 | (10+65)×2+10 | 45 | 286×246×195 | 大中鸭蛋 | 5 | 5.9099 | 7.6499 | 38.2493 |
|
||||
|
||||
---
|
||||
|
||||
## 二、速查价目表(Sheet3 精简版)
|
||||
|
||||
| 货品名称 | 货品编号 | 套/箱 | 自提开票(元/套) | 快递开票(元/套) | 包开票(元/箱) |
|
||||
|----------|--------------------------------------------------------|--------|------------------|------------------|----------------|
|
||||
| 20 枚鸡蛋托大套装 12 套竖不粘底 | 1222003×12+13222003×24+1322003×12+0000000×12 | 12 | 2.5157 | 3.2407 | 38.8880 |
|
||||
| 30 枚鸡蛋托中套装 12 套竖不粘底 | 1223001×12+1323001×12+13223001×24+0000000×12 | 12 | 3.2625 | 3.9875 | 47.8499 |
|
||||
| 加厚 30 枚鸡蛋托中套装 6 套竖不粘底 | 122300101×6+13200101×6+1322300101×12+0000000×6 | 6 | 4.0517 | 5.835 | 35.01 |
|
||||
| 30 枚鸡蛋托大套装 10 套横粘底 | 1223002×10+1323002×10+13223002×10+0000000×10 | 10 | 3.3471 | 4.5571 | 45.5709 |
|
||||
| 30 枚鸡蛋托大套装 10 套竖不粘底 | 1323003×10+13223003×20+1223003×10+0000000×10 | 10 | 3.3492 | 4.2192 | 42.1918 |
|
||||
| 30 枚鸡蛋托大套装 8 套竖不粘底(上开口箱) | 1323003×8+13223003×16+1223005×8+0000000×8 | 8 | 3.8663 | 4.9538 | 39.63 |
|
||||
| 30 枚鸡蛋托中套装 6 套竖不粘底彩箱 | 1223004×6+1323001×6+13223001×12+0000000×6 | 6 | 4.43 | 5.88 | 35.28 |
|
||||
| 40 枚鸡蛋托大套装 8 套竖不粘底 | 1322003×16+13222003×24+1224003×8+0000000×8 | 8 | 4.0375 | 5.125 | 41.00 |
|
||||
| 50 枚鸡蛋托中套装 6 套竖不粘底 | 1225001×6+1322501×12+13222501×18+0000000×6 | 6 | 4.4548 | 5.9048 | 35.4287 |
|
||||
| 50 枚鸡蛋托大套装 6 套横粘底 | 1225002×6+1322502×12+13222502×6+0000000×6 | 6 | 4.81 | 6.8267 | 40.96 |
|
||||
| 50 枚鸡蛋托大套装 6 套竖不粘底 | 1322503×12+13222503×18+0000000×6+1225003×6 | 6 | 5.0206 | 6.4706 | 38.8238 |
|
||||
| 60 枚鸡蛋托中套装 6 套竖不粘底 | 1226001×6+1323001×12+13223001×18+0000000×6 | 6 | 4.8707 | 6.3541 | 38.1243 |
|
||||
| 60 枚鸡蛋托大套装 5 套横粘底 | 1226002×5+1323002×10+13223002×5+0000000×5 | 5 | 5.4791 | 7.2591 | 36.2957 |
|
||||
| 60 枚鸡蛋托大套装 6 套竖不粘底 | 1323003×12+13223003×18+1226003×6+0000000×6 | 6 | 5.5683 | 7.0183 | 42.11 |
|
||||
| 100 枚鸡蛋托中套装 4 套竖不粘底 | 12210001×4+1322501×16+13222501×20+0000000×4 | 4 | 7.2902 | 9.4652 | 37.8609 |
|
||||
| 100 枚鸡蛋托大套装 4 套横粘底 | 12210002×4+1322502×16+13222502×4+0000000×4 | 4 | 7.925 | 10.95 | 43.8 |
|
||||
| 100 枚鸡蛋托大套装 4 套竖不粘底 | 1322503×16+13222503×20+0000000×4+12210003×4 | 4 | 8.3210 | 10.4960 | 41.9839 |
|
||||
| 12 枚大鹅蛋对扣+纸箱(6 套) | 431203×12+12431201×6+0000000×6 | 6 | 4.5367 | 5.9867 | 35.92 |
|
||||
| 12 枚大鹅蛋盖板托+纸箱(6 套) | 431201×6+431202×12+12431201×6+0000000×6 | 6 | 4.3233 | 5.7733 | 34.64 |
|
||||
| 20 枚皮蛋托+纸箱 6 套 | 232001×6+332001×6 | 6 | 4.15 | 6.1667 | 37.00 |
|
||||
| 30 枚皮蛋托+纸箱 5 套 | 233001×5+333001×5 | 5 | 4.52 | 6.4 | 32.00 |
|
||||
| 40 枚皮蛋托+纸箱 3 套 | 234001×3+332001×6 | 3 | 6.8667 | 10 | 30.00 |
|
||||
| 20 枚鸭蛋托+纸箱 6 套 | S322001×6+S232001×6 | 6 | 3.4683 | 4.9183 | 29.51 |
|
||||
| 30 枚鸭蛋托+纸箱 6 套 | S321501×12+S233001×6 | 6 | 4.5580 | 6.0080 | 36.0478 |
|
||||
| 40 枚鸭蛋托+纸箱 5 套 | S322001×10+S234001×5 | 5 | 5.9099 | 7.6499 | 38.2493 |
|
||||
68637
后台_接口API.json
Normal file
68637
后台_接口API.json
Normal file
File diff suppressed because it is too large
Load Diff
87
调试说明.txt
Normal file
87
调试说明.txt
Normal file
@@ -0,0 +1,87 @@
|
||||
登录和数据库调试日志说明
|
||||
==========================
|
||||
|
||||
已为登录功能和数据库初始化添加详细的调试日志输出,帮助诊断问题。
|
||||
|
||||
⚠️ 重要提示:如果遇到"SQLite error (1): no such table: local_session"错误
|
||||
请删除旧数据库后重新运行程序:
|
||||
1. 关闭程序
|
||||
2. 删除文件:%LOCALAPPDATA%\PackagingMallShipper\data.db
|
||||
3. 重新运行程序,数据库会自动重建
|
||||
|
||||
如何查看调试日志:
|
||||
------------------
|
||||
|
||||
方法一:使用 Visual Studio
|
||||
1. 在 Visual Studio 中打开项目
|
||||
2. 按 F5 或点击"调试">"开始调试"启动程序
|
||||
3. 尝试登录
|
||||
4. 查看 Visual Studio 底部的"输出"窗口
|
||||
5. 在输出窗口的下拉菜单中选择"调试"
|
||||
6. 将看到类似以下的详细日志:
|
||||
|
||||
[登录请求] URL: https://user.api.it120.cc/login/userName/v2?userName=...&pwd=***&pdomain=let5see...
|
||||
[登录请求] 用户名: 刘海春
|
||||
[登录请求] 验证码: 1234
|
||||
[登录请求] 验证码Key: abc123...
|
||||
[登录请求] 子域名: let5see
|
||||
[登录响应] HTTP状态码: OK
|
||||
[登录响应] JSON原始内容: {"code":...,"msg":"..."}
|
||||
[登录响应] 解析结果 - Code: xxx, Msg: xxx
|
||||
[登录失败] 错误码: xxx, 错误信息: no user
|
||||
|
||||
方法二:使用 DebugView (无需 Visual Studio)
|
||||
1. 下载 DebugView 工具:https://learn.microsoft.com/en-us/sysinternals/downloads/debugview
|
||||
2. 以管理员身份运行 DebugView
|
||||
3. 确保勾选 "Capture Win32" 和 "Capture Global Win32"
|
||||
4. 运行编译好的 PackagingMallShipper.exe
|
||||
5. 尝试登录
|
||||
6. 在 DebugView 窗口中查看实时调试输出
|
||||
|
||||
日志内容说明:
|
||||
--------------
|
||||
|
||||
1. [登录请求] - 显示发送给API的请求信息
|
||||
- URL:完整的API请求地址(密码已隐藏)
|
||||
- 用户名:输入的用户名
|
||||
- 验证码:输入的验证码值
|
||||
- 验证码Key:用于验证码验证的唯一标识
|
||||
- 子域名:当前配置的子域名
|
||||
|
||||
2. [登录响应] - 显示API返回的响应信息
|
||||
- HTTP状态码:HTTP层面的状态(如 200 OK)
|
||||
- JSON原始内容:API返回的完整JSON响应
|
||||
- 解析结果:从JSON中提取的code和msg字段
|
||||
|
||||
3. [登录失败] - 如果登录失败,显示详细的错误信息
|
||||
- 错误码:API返回的错误代码
|
||||
- 错误信息:API返回的错误消息(如 "no user")
|
||||
|
||||
4. [登录成功] - 如果登录成功,显示token和用户ID
|
||||
|
||||
5. [登录异常] - 如果发生网络异常等错误,显示异常详情
|
||||
|
||||
排查步骤:
|
||||
----------
|
||||
|
||||
1. 确认验证码是否正确输入
|
||||
- 错误码 300 = "图片验证码错误"
|
||||
|
||||
2. 确认用户名编码是否正确
|
||||
- 查看日志中的URL,确认中文用户名是否被正确编码
|
||||
|
||||
3. 确认子域名配置是否正确
|
||||
- 应该为 "let5see"
|
||||
|
||||
4. 查看API返回的完整错误信息
|
||||
- 可能会有更详细的错误描述
|
||||
|
||||
5. 验证HTTP状态码
|
||||
- 应该为 200 OK
|
||||
- 如果是 404,说明接口地址错误
|
||||
|
||||
常见错误码:
|
||||
-----------
|
||||
- 300: 图片验证码错误
|
||||
- 700: 需要验证码
|
||||
- 其他错误码请参考API返回的msg字段
|
||||
Reference in New Issue
Block a user