fix(admin): decode recharge order enum cells

This commit is contained in:
2026-05-14 20:07:03 +08:00
parent 1c35662ed5
commit de25324991
3 changed files with 146 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ Query
- SQL 固定为 `SELECT * FROM {tableName} LIMIT {limit}`SpacetimeDB 2.2 HTTP SQL 不拼 `ORDER BY`
- 用户输入不直接拼入 SQL关键词和条件在 API Server 内存中过滤。
- private 表或 token 不可见时返回后台可读错误信息。
- SpacetimeDB SQL 行和 SATS 值统一转成人可读 JSONOption None 为 nullSome 展开为内部值Timestamp 单元素数组展开为内部值enum 可保留 tag/name 或原始数组文本
- SpacetimeDB SQL 行和 SATS 值统一转成人可读 JSONOption None 为 nullSome 展开为内部值Timestamp 单元素数组展开为内部值;已知业务枚举列应在 API Server 按表名和列名转换为业务字符串,例如 `profile_recharge_order.kind` 转为 `points` / `membership``profile_recharge_order.status` 转为 `pending` / `paid` / `failed` / `closed` / `refunded`
## 前端页面