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
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
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
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
d13d7aa7c6
feat(docs): add database migration guide and API integration report
2026-07-07 07:18:02 +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
1ed3fea21c
feat(logo): add new logo files for justsolutionsWebV2
2026-07-02 15:00:36 +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