material_manage_system/internal/handler
文睿 张 f5e9029c46 docs: 修正「导入必须用独立前缀」的错误论断
实测 gin v1.9.1 允许静态段与 :id 在同一层级共存:探针测了 POST/GET 的单级与
两级共 5 种组合,把 /materials/import 放进现成的 materials 组全都不会 panic。

路由本身保持 /material-import 不变——独立成前缀是命名与分组上的选择(导入是
含模板下载与上传入库的一条链路,也避免 /materials/import 被读成物料 id),
不是 gin 的路由限制。计划文档同步更正。

顺带把计划 Task 6 Step 7 的验证方式从 go build 改成跑路由测试:go build 只做
编译、不执行 RegisterRoutes,注册期的 panic 它兜不住。
2026-10-10 16:18:02 +08:00
..
admin_master.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
api.go docs: 修正「导入必须用独立前缀」的错误论断 2026-10-10 16:18:02 +08:00
application_organization_test.go feat: 按公司隔离物料申请与审批出库 2026-10-09 12:37:08 +08:00
company_isolation_integration_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
error_message_test.go 完善库存流水 2026-09-20 14:29:41 +08:00
logout_session_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
material_history_mysql_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
material_import_test.go feat: 物料导入与模板下载接口 2026-10-10 15:46:57 +08:00
material_import.go feat: 物料导入与模板下载接口 2026-10-10 15:46:57 +08:00
material_organization_test.go feat: 物料增加初始单位,补充物料批量上传计划 2026-10-10 14:15:49 +08:00
order_flow_integration_test.go feat: 按公司隔离入出库单据流程 2026-10-09 12:21:53 +08:00
order_organization_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
organization_context_integration_test.go feat: 强制校验可信公司上下文 2026-10-09 09:56:21 +08:00
organization_context_test.go feat: 组织列表为每家公司补充仓库摘要 2026-10-09 10:43:35 +08:00
organization_context.go feat: 强制校验可信公司上下文 2026-10-09 09:56:21 +08:00
partner_categories_test.go feat: 强制校验可信公司上下文 2026-10-09 09:56:21 +08:00
routes_test.go feat: 物料导入与模板下载接口 2026-10-10 15:46:57 +08:00
session_mysql_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
stock_organization_test.go fix: 修正普通审批 scope、出库更新加锁顺序与预警物料归属校验 2026-10-09 11:19:39 +08:00
upload.go Initial commit 2026-09-15 16:08:18 +08:00
websocket_test.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00
websocket.go docs: document company isolation rollout and acceptance 2026-10-09 15:54:20 +08:00