feat: 切换到商户号子账号登录端点 + 项目清理

- AuthService: 改用 http://common.apifm.com/loginAdmin/operator/v2 商户号登录
  * 验证码和登录统一使用该主机以保持 JSESSIONID 一致
  * 改用 FormUrlEncodedContent POST body
  * 未配置 MerchantId 时回退到旧的 pdomain 登录方式
- AppConfig: 新增 MerchantId 配置项
- App.config: 新增 MerchantId=15073
- LoginViewModel: captchaKey 由 GUID 改为 JS Math.random 风格 0.xxx
- setup.iss: 修复 GBK 编码损坏导致的字符串未闭合错误,改为 UTF-8 BOM
- README: 更新配置示例与相关文档链接
- .gitignore: 忽略 .env 本地密钥文件
- 清理过时/无关文档与未引用的 SFX 打包脚本
This commit is contained in:
key
2026-04-17 12:03:15 +08:00
parent 61399323bf
commit fb65dceaa0
16 changed files with 25554 additions and 68901 deletions

View File

@@ -63,13 +63,17 @@ bin/Release/net462/PackagingMallShipper.exe
<!-- API工厂配置 -->
<add key="ApiBaseUrl" value="https://api.it120.cc" />
<add key="SubDomain" value="let5see" />
<!-- 商户ID用于 /loginAdmin/operator/v2 子账号登录 -->
<add key="MerchantId" value="15073" />
<!-- 同步配置 -->
<add key="SyncPageSize" value="50" />
<add key="ShipConcurrency" value="3" />
</appSettings>
```
> 登录采用 `http://common.apifm.com/loginAdmin/operator/v2` 商户号子账号登录接口;`MerchantId` 未配置时回退至 `https://user.api.it120.cc/login/userName/v2` 的 `pdomain` 登录方式。
## 数据存储
本地数据库位置:`%LOCALAPPDATA%\PackagingMallShipper\data.db`
@@ -102,4 +106,6 @@ PackagingMallShipper/
## 相关文档
- [技术方案文档](../enterprise-management/docs/轻量级订单发货客户端方案.md)
- [技术方案文档](./轻量级订单发货客户端方案.md)
- [后台接口文档](./后台接口.md)
- [安装包构建说明](./BUILD_INSTALLER.md)