Commit a125bde
為 /codes 增加表格 CBDB_NAME_LIST 的支持
- 在 config/codes.php 中添加 CBDB_NAME_LIST 到允許的表列表
- 在 CodesController.php 中配置 CBDB_NAME_LIST 為只讀表
- 設定自定義列顯示配置:c_personid, name, source
- 設定複合主鍵覆蓋:c_personid + name + source(用於行識別)
由於 CBDB_NAME_LIST 表沒有定義主鍵,將其設為只讀表以確保數據完整性。
所有測試通過(100 tests, 446 assertions)。
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 489adea commit a125bde
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| 105 | + | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments