fengruixiang
912c1e7807
chore: 将 passport-nfc-app 拆分为独立仓库
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 09:37:47 +08:00
fengruixiang
9f8feb8476
docs(passport-nfc-app): 新增手机扫护照混合 App 开发计划
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 09:27:34 +08:00
fengruixiang
0846c7eccf
chore: link agent instructions and local refresh skill
2026-11-05 15:31:43 +08:00
fengruixiang
1adbd6c04c
docs(local-dev): aml-local-refresh 补充联调监控与租户账号经验
...
- 宿主账号无租户,enableKYC 恒为 false;KYC 相关功能需用开了 KYC 的租户登录(附查询 SQL)
- 联调中途改了几个前端文件时用 cp.sh 逐个推送到 Windows,并按 Build at 判断编译完成
- 新增「联调时监控前后端」:remote-chrome 只读看 console/网络、后端文件日志路径与 Monitor 过滤、改后端(含 JSON)需重建镜像
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:30:02 +08:00
fengruixiang
8fd743d6db
docs(local-dev): aml-local-refresh 前端改为在 dev 分支拉取与提交
...
前端与后端一致使用 dev(dev 经 PR 合入 main);补充从 main 切到 dev 的
安全步骤,并强调切分支、commit、push 分步执行,避免误推 main。
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:36:39 +08:00
fengruixiang
9dbf1ada02
docs(local-dev): aml-local-refresh 补充前端联调流程与管理员密码
...
- 新增「前端联调」一节:issuer 必须为 http://localhost:44331 的约束、
npm run start:local、Mac 上用 fnm Node 14 启动
- 记录在 FG-W11-ICON-DEV 上跑前端:反向 SSH 隧道(ControlPath=none)、
代码快照推送、npm 假死的识别与重跑、桌面会话启动、4GB 堆上限
- 管理员密码:还原 .bak 的库为 1qaz@WSX,种子新建库为 1q2w3E*(readme 同步)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:31:05 +08:00
fengruixiang
a18fe048c6
chore(local-dev): aml-local-refresh 同步拉取 AML_Frontend
...
新增 1b 步骤:前端在 main 分支 git pull --ff-only,并检查 package.json
是否变化;因本机 Node v24 与 Angular 11 不兼容,依赖变化只报告不自动安装。
报告要求增加前端 commit 与依赖变化一项。
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:55:14 +08:00
fengruixiang
290a82b190
docs(justsolutionsWebV2): 新增隨付即用与 Agent 展示接口需求单
...
按 PAYG(A1–A10)与 Agent 展示(B1–B7)两块整理提给 AML_Backend 的接口缺口,
每条含现状(附代码位置)/ 问题 / 建议接口 / 不做的后果,并标出前端已落地的
临时方案与后端就绪后要改的那一处。
P0:优惠码接口缺失、零价单借线下审核单顶替(金额仍为全价)、SubjectName
处于「校验放开但 .Trim() 仍在、管理端又强制」的中间态、建单不校验 agent 与
P2G 的 AgentUserPlan 关联;AgentByCountryDto 缺 AgentRemark 迫使 BFF 走 N+1、
该 N+1 打的 SearchUserByCodeAndType 是匿名且返回完整 AppUserDto、代理列表
不过滤 IsActive 也不按用户去重。
对照后端 ef733325 / 前端 justsolutionsWebV2@main 复核。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-19 15:17:47 +08:00
fengruixiang
3171cc18bf
chore(local-dev): 修复 myget CA 导致的构建失败,并新增 aml-local-refresh skill
...
Dockerfile.local 的 build 阶段刷新 ca-certificates:www.myget.org(NuGet.Config
里的 BlazoriseMyGet 源)换用 GlobalSign AlphaSSL 2025 证书后,sdk:6.0 镜像自带的
CA 包认不出,dotnet restore 直接 NU1301 "Unable to load the service index",镜像
构建全线失败。runtime-base 早已用同样手法解决 iCS 的 PartialChain 问题。
同时把「拉代码 + 还原最新 .bak + 重建重启」固化为项目级 skill,记录必须踩对的顺序
(先停 host 再还原、恢复库不能跑 db-migrator、代码更新必须重建镜像、还原后必跑
seed-root-ou.sql)以及 docker cp 权限、构建管道吞 exit code 等坑。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-19 13:58:02 +08:00
fengruixiang
d5b7317a5c
docs(justsolutionsWebV2): 多地区设计回填 global 站自有市场 All
...
对应 justsolutionsWebV2 dev 分支 24aa252:§02 路由示例、§03 目录树、§07 站点表
与币种/支付方式表改为「global = 市场 All、自有 plans-plus / pay-as-you-go、
无在线支付故代理商必选」,§09 变更记录补 2026-08-18 一条。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 17:23:09 +08:00
fengruixiang
f3379a7cae
chore: add /temp/ directory to .gitignore
2026-07-29 14:59:21 +08:00
fengruixiang
13ae4d50df
docs(justsolutionsWebV2): 多地区设计回填國家選項与 global 站,Q1/Q3 标注修订
...
- §02 新增「地区切换:页头/页尾的國家選項」小节 + Plans 按 region.subscription 分流
- §03 目录树加 global/,§07 币种表加「其他國家 · 无在线支付」
- §08 config 补 subscription / regions / markets,§09 加第 8 步与生成器执行顺序
- §12 Q1(兜底落 /global/en)、Q3(jp+hk+global)标为 2026-07-27 修订,
原决策用删除线保留追溯;§A 组件表补国家切换器
2026-07-27 14:56:03 +08:00
fengruixiang
1a5fb4b32d
feat: add TenantIndustry and TenantIndustryNameTranslations tables with seed data
2026-07-26 18:41:22 +08:00
fengruixiang
1a7ab235cb
fix: update SalesAdminID for local development and add seed script for agent plans
2026-07-23 13:55:49 +08:00
fengruixiang
ba133c4fb5
chore(docker): 本地开发栈补齐 PAYG 配置与 .bak 架构补齐脚本
...
- docker-compose.local.yml: 新增 AppConfig__TwoC__TenantId 与
IsMockupPayment,隨付即用(PAYG)建单需校验 2C 池租户,否则报
"TwoC.TenantId is not configured"
- 新增 local-schema-catchup.sql:AML-local-dev.bak 快照缺
__EFMigrationsHistory,DbMigrator 无从增量,补上 PAYG /
AgentUserSetting / SplitOrderType 三个迁移的 DDL,并回补
IsDeleted 的 DEFAULT 0 约束(全部带存在性判断,可重复执行)
- 文档 docker-compose-local-dev.md 更名为 readme.md
2026-07-22 11:12:01 +08:00
fengruixiang
b2b41e59e4
chore(docker): 本地开发栈迁至 monorepo 根目录并适配跨仓库构建上下文
...
docker-compose-local-dev/ 从 AML_Backend 子仓库移到父仓库根目录,与
docs/AML_Backend/ 下的旧副本合并为唯一一份,避免两处各自漂移。
因为这套栈现在位于 AML_Backend 仓库之外,构建上下文必须跨仓库指向:
- context 改为 ../AML_Backend;dockerfile 用 ../docker-compose-local-dev/
Dockerfile.local,从上下文外引用(BuildKit 支持)
- appsettings.local.json 已不在构建上下文内,原来的
COPY docker-compose-local-dev/appsettings.local.json 会失效,改用命名附加
上下文传入:compose 侧 additional_contexts: {localcfg: .},Dockerfile 侧
COPY --from=localcfg(host 与 migrator 两个 stage 各一处)
同时补入旧副本没有的 seed-root-ou.sql。AML-local-dev.bak 由 *.bak 规则忽略。
镜像已重建并实测:恢复 .bak + 跑种子后,门户端点 GetEditionList /
GetPlanList 均返回 200。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
COPY docker-compose-local-dev/appsettings.local.json 会失效,改用命名附加
上下文传入:compose 侧 additional_contexts: {localcfg: .},Dockerfile 侧
COPY --from=localcfg(host 与 migrator 两个 stage 各一处)
同时补入旧副本没有的 seed-root-ou.sql。AML-local-dev.bak 由 *.bak 规则忽略。
镜像已重建并实测:恢复 .bak + 跑种子后,门户端点 GetEditionList /
GetPlanList 均返回 200。
2026-07-21 15:50:55 +08:00
fengruixiang
a5d4657a27
fix: update .gitignore to include all .bak and .bak.tmp files
2026-07-14 07:28:52 +08:00
fengruixiang
57ee96e1bf
docs(justsolutionsWebV2): 新增多地区多语言架构设计
...
以路径前缀 /{region}/{lang} 隔离地区、共享 BFF 的整体方案(HTML 文档):
- 地区(region)与语言(lang)维度分离:地区目录级硬隔离,语言用 i18n 字典软切换
- public/{region}/ + public/_shared/ 目录结构与请求处理流程
- BFF 保持共享,按 X-Region 做数据差异化
- 在线支付以适配器(Strategy)模式承载各地区不同支付方式
- 已锁定决策 Q1–Q5:兜底 HK(/hk/en)、语言码 BCP47、首批 jp+hk、
HK 页面为基线、纯路径前缀不用独立域名;Q6/Q7 待定
2026-07-09 16:53:45 +08:00
fengruixiang
c021b936d9
Refactor code structure for improved readability and maintainability
2026-07-08 14:43:21 +08:00
fengruixiang
c71cfb4c02
chore: 停止将子项目作为 gitlink 跟踪,避免父仓库反复出现幻影改动
...
AML_Backend / AML_Frontend / justsolutionsWeb 均为各自独立维护的
git 仓库,父仓库不应记录其 commit 指针(且无 .gitmodules)。从索引
移除并加入 .gitignore,子项目提交后父仓库不再出现无法丢弃的
"new commits" 改动。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 13:52:40 +08:00
fengruixiang
91cad89953
chore: 停止将 justsolutionsWebV2 作为 gitlink 跟踪
...
justsolutionsWebV2 是各自独立维护的子项目,父仓库不应把它当作
submodule/gitlink(且无 .gitmodules)。从索引移除并加入 .gitignore,
避免子项目提交时父仓库反复出现无法丢弃的 "new commits" 改动。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 09:55:23 +08:00
fengruixiang
2255d51fda
feat(docs): update database migration guide with detailed steps and prerequisites
2026-07-07 09:44:49 +08:00
fengruixiang
d13d7aa7c6
feat(docs): add database migration guide and API integration report
2026-07-07 07:18:02 +08:00
fengruixiang
ad0ddcbe8b
feat(gitignore): add backup file for local development setup
2026-07-06 19:09:30 +08:00
fengruixiang
a0baa7a181
Implement code changes to enhance functionality and improve performance
2026-07-06 16:46:03 +08:00
fengruixiang
9ea206d1b4
Implement code changes to enhance functionality and improve performance
2026-07-06 14:09:09 +08:00
fengruixiang
13fdb70003
feat(docker): add local docker-compose dev stack for AML_Backend
...
在 docker-compose-local-dev/ 下一键拉起 HttpApi.Host 的自包含本地开发栈
(mssql + rabbitmq + db-migrator + httpapi-host),构建上下文为仓库根目录。
- Dockerfile.local:.NET 6 多阶段构建,产出 host / migrator 两个目标
(替代已过时、写着 .NET 5 且 COPY 不存在文件的 CI Dockerfile)
- 绕过 Nacos:最新代码把配置切到 Nacos(192.168.1.120:8848,本机不可达);
构建时用 appsettings.local.json(Nacos 改造前的完整配置快照,不含 NacosConfig)
覆盖镜像内 appsettings.json,再由 compose 环境变量指向本地服务
- RabbitMQ:内置 rabbitmq:3.13-management(vhost bthost)并开启 consumer,
跑通数据采集/报告生成/AI检测/门户订单等异步链路;宿主端口错开为 5673/15673
- iCS:服务端不在本仓库,iCSRootUrl 指向共享 stag(stag-abp-api.iconsz.com);
runtime-base 阶段刷新 CA 库,修复 ZeroSSL 部分证书链导致的 HttpClient TLS 握手失败
- Dockerfile.local.dockerignore:本地专用忽略表,覆盖会排除 appsettings.json 的根 .dockerignore
- 关闭 SanctionJob(依赖本地未部署的 Elasticsearch)
2026-07-03 11:11:09 +08:00
fengruixiang
1ed3fea21c
feat(logo): add new logo files for justsolutionsWebV2
2026-07-02 15:00:36 +08:00
fengruixiang
c6bff91c45
feat(docker): add local development setup with Docker for AML_Backend
2026-07-02 11:01:14 +08:00
fengruixiang
90b929b081
docs(docker-compose): add local development instructions for AML_Backend using docker-compose
2026-06-25 21:21:48 +08:00
fengruixiang
77a30169a5
docs(justsolutions): update plans-plus API documentation to reflect changes in BR/CI validation requirements
2026-06-24 23:32:08 +08:00
Million_MacMini
4519399cb7
docs(justsolutions): add API analysis for plans-plus real backend integration
...
Add docs/justsolutionsWebV2/plan-plus-api分析.html mapping each plans-plus
mock endpoint to the real AMLPortal backend (the same endpoints the old
justsolutionsWeb PlanService uses), via the V2 BFF pattern.
Covers per-endpoint field mappings, transformation notes, and the gaps:
- tenant lookup is by email but queryRenewableTenant searches by name
- the new 'topup' type has no backend endpoint
- CreateOrder/TenantRenewal PlanList needs PlanId+PlanDetailId back-fill
- CreateOrder ignores AdminPassword; BR-or-CI required; no bestValue/note fields
- QFPay payment signing must move server-side
Also includes the justsolutionsWeb API-call inventory (api-calls.md/html)
that this analysis builds on.
2026-06-24 15:58:03 +08:00
Million_MacMini
94c2469f56
docs(claude): update repository overview to include all subprojects and their details
2026-06-23 15:12:32 +08:00
fengruixiang
bcf6830814
chore(configuration): add mcp server settings for mssql and playwright
2026-05-25 16:40:27 +08:00
fengruixiang
dcdcdf4cb2
add agent.md
2026-05-22 14:53:58 +08:00
fengruixiang
c4e27aa58f
docs(kyc): add detailed configuration and scanner integration documents
...
- Add comprehensive KYCConfig analysis covering OCR service, code mappings,
entity parsing rules, supported certificates, translations, match rules,
attachment and scan settings, and processor architecture
- Include database storage details for tenant-level configuration overrides
- Add full interface manual for DKePassport Windows SDK including hardware
specs, protocol, commands, data fields, error codes, and sample usage
- Update Scanner_Integration.md with backend mapping explanation for new SDK
- Document key configuration files and how new SDK changes affect code and
parsing mappings
- Compare certificate code differences between old and new scanner SDKs
- Highlight required mapping adjustments for fields and certificate codes under
the new SDK integration
2026-05-07 05:59:47 +08:00
fengruixiang
570a155399
feat(scanner): add intelligent passport web terminal with real-time WS communication
...
- Implemented WebSocket connection management with connect, disconnect, and send commands
- Added UI for server URL input, command selection, and send button with loading states
- Developed message logging system with text and table views and export functionality
- Included avatar display area supporting base64 image data with lazy loading and error handling
- Created data table showing structured passport information with protocol-based field mappings
- Integrated support for Base64 image data markers and toggleable full data display in logs
- Used Tailwind CSS with custom theme colors and utility classes for consistent styling
- Ensured accessibility with responsive layout and interactive controls
- Added detailed error and connection status messages for better user feedback
2026-04-30 17:05:37 +08:00
fengruixiang
376cb3a15f
docs(kyc): add scanner integration analysis and SDK replacement guidance
...
- Document frontend scanner architecture and PassportReader.js role
- Detail key methods, callbacks, and message protocol formats
- Analyze impact of replacing scanner SDK with three proposed solutions
- Recommend ideal approach preserving PassportReader.js interface
- List relevant frontend and backend file paths for integration
- Provide version and creation date info for the documentation file
2026-04-30 14:39:09 +08:00
fengruixiang
07ad350566
docs(AML): update module structure and correct module path descriptions
...
- Rename Organization folder to Org in AML module structure
- Add Jobs folder and SurveyService.cs under AML module
- Fix formatting of module path descriptions in main docs README
- Adjust permission allow patterns in .claude settings.json for Bash commands
2026-04-30 14:18:05 +08:00
fengruixiang
60516b7cf1
feat(docs): all modules docs
2026-04-30 10:19:15 +08:00
fengruixiang
cf3c61eb24
init
2026-04-30 10:07:35 +08:00