Commit 8f22903
authored
refactor the list API pagination (#276)
* refactor http api pagination
* refactor http api pagination
* Optimize database indexing and improve API pagination logic
* Optimize account_id field indexing in substrate.go
* Enhance database migration logging and enable safety auto-migration
* Refactor account extrinsic mapping logic and improve duplicate handling
* Reduce HTTP server timeout from 30s to 10s in configuration
* Remove api/optimize branch from Docker configuration1 parent e4a67be commit 8f22903
35 files changed
Lines changed: 1518 additions & 600 deletions
File tree
- cmd
- configs
- docs/api
- internal
- dao
- script
- server/http
- service
- model
- plugins
- balance
- dao
- http
- model
- service
- evm
- dao
- http
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
0 commit comments