CalciumIon
97d0e6d2cd
feat: implement pagination and total count for redemptions API #386
...
- Updated GetAllRedemptions and SearchRedemptions functions to return total count along with paginated results.
- Modified API endpoints to accept page size as a parameter, enhancing flexibility in data retrieval.
- Adjusted RedemptionsTable component to support pagination and display total count, improving user experience.
- Ensured consistent handling of pagination across related components, including LogsTable and UsersTable.
2024-12-31 15:28:25 +08:00
CalciumIon
d298054d94
feat: 记录兑换时兑换码的ID ( close #286 )
2024-07-05 20:57:32 +08:00
CaIon
7b484beb18
fix bug
2024-04-04 19:18:00 +08:00
CaIon
b2680b6365
fix: 修复模型映射功能失效 ( close #105 )
2024-03-11 18:28:51 +08:00
CaIon
8c5fd7b7ee
适配dall-e-3
2023-11-09 17:08:32 +08:00
Bryan
58b6c88f7b
fix: fix postgresql support ( #606 )
...
* fix postgresql support
fixes #517
* fix: fix pg support
* chore: delete useless code
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-10-22 18:38:29 +08:00
JustSong
5b32f25f51
fix: fix redemption can be used multiple times in some cases
2023-07-23 19:34:23 +08:00
JustSong
7765aa1d3d
fix: use transaction to protect redeem process
2023-07-07 21:26:45 +08:00
JustSong
b7a89340e1
chore: format logs
2023-06-22 10:59:01 +08:00
JustSong
a6cc0226a7
feat: able to display quota in dollar
2023-06-20 20:09:17 +08:00
JustSong
532b60f753
feat: now user can check its topup & consume history ( close #78 , close #95 )
2023-06-10 16:04:04 +08:00
JustSong
3cc22de857
fix: fix redemption code's quota not updated
2023-06-08 15:19:55 +08:00
JustSong
cbf339284c
feat: support group now ( close #17 , close #72 , close #85 , close #104 , close #136 )
...
Co-authored-by: quzard <1191890118@qq.com >
2023-06-07 23:26:00 +08:00
JustSong
bcb4862a19
refactor: bind quota to account instead of token ( close #64 , #31 )
2023-05-16 11:26:09 +08:00
JustSong
7bd4c0e490
fix: return quota to user when delete token ( close #37 )
2023-05-04 10:20:39 +08:00
JustSong
bcdfb7d0d9
feat: now use token as the unit of quota ( close #33 )
2023-04-28 16:58:55 +08:00
JustSong
4bcc5f54f2
fix: fix MySQL syntax error ( #54 )
2023-04-27 11:10:10 +08:00
JustSong
a751f30316
fix: specify type for token ( close #23 )
2023-04-27 09:32:20 +08:00
JustSong
be2b3f3fc6
feat: now user can top up via redemption code ( close #9 )
2023-04-26 17:02:26 +08:00