CalciumIon
4f196a62e1
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
bd7222118a
feat: 记录兑换时兑换码的ID ( close #286 )
2024-07-05 20:57:32 +08:00
CaIon
c040fa229d
fix bug
2024-04-04 19:18:00 +08:00
CaIon
d4df1960b2
fix: 修复模型映射功能失效 ( close #105 )
2024-03-11 18:28:51 +08:00
CaIon
3ff4210fc4
适配dall-e-3
2023-11-09 17:08:32 +08:00
Bryan
a398f35968
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
889af8b2db
fix: fix redemption can be used multiple times in some cases
2023-07-23 19:34:23 +08:00
JustSong
d17bdc40a7
fix: use transaction to protect redeem process
2023-07-07 21:26:45 +08:00
JustSong
00151a0124
chore: format logs
2023-06-22 10:59:01 +08:00
JustSong
b179c2f208
feat: able to display quota in dollar
2023-06-20 20:09:17 +08:00
JustSong
74f508e847
feat: now user can check its topup & consume history ( close #78 , close #95 )
2023-06-10 16:04:04 +08:00
JustSong
e0d0674f81
fix: fix redemption code's quota not updated
2023-06-08 15:19:55 +08:00
JustSong
2ad22e1425
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
01abed0a30
refactor: bind quota to account instead of token ( close #64 , #31 )
2023-05-16 11:26:09 +08:00
JustSong
331177d97e
fix: return quota to user when delete token ( close #37 )
2023-05-04 10:20:39 +08:00
JustSong
053bb85a1c
feat: now use token as the unit of quota ( close #33 )
2023-04-28 16:58:55 +08:00
JustSong
195e94a75d
fix: fix MySQL syntax error ( #54 )
2023-04-27 11:10:10 +08:00
JustSong
5bfc224669
fix: specify type for token ( close #23 )
2023-04-27 09:32:20 +08:00
JustSong
9e2f2383b9
feat: now user can top up via redemption code ( close #9 )
2023-04-26 17:02:26 +08:00