Commit 83b838b
refactor: use init() hook instead of initialize()
- Use think-orm's built-in init() hook method
- Simpler and more aligned with think-orm design
- No need to call parent::initialize()
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d8a05af commit 83b838b
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
0 commit comments