Commit Graph
2 Commits
Author SHA1 Message Date
xrain 2b8d2c47be feat: SimApiError 增加顶层函数,支持无前缀 error(400);精简 simapi.cj 为包锚点
- error/errorWhen/errorWhenTrue/errorWhenFalse/errorWhenNull 提升为 simapi.helpers 顶层函数,
  import simapi.helpers.* 后可直接调用(对齐 C# using static SimApi.Helpers.SimApiError)
- SimApiError 类保留为兼容门面(旧写法仍可用)
- simapi.cj 精简为仅 package 声明:实测 cjpm 要求 src 根目录必须有 .cj 锚点,
  否则不扫描子目录导致整包编译为空;SimApi 类/version 常量无任何引用,已移除
2026-08-17 09:06:17 +08:00
xrain 932fce1b9e first version 2026-08-16 12:46:15 +08:00