Files
one-api/controller
Laisky.Cai a0dc7e6fd6 refactor: Refactor token handling in the controller
- Remove the unnecessary `AddRemainQuota` field from `updateTokenDto` struct
- Adjust `cleanToken.RemainQuota` by subtracting `tokenPatch.AddUsedQuota`
- Increase `cleanToken.UsedQuota` by adding `tokenPatch.AddUsedQuota`
- Update `model.RecordLog` call to include `tokenPatch.AddReason` and `tokenPatch.AddUsedQuota` values
2023-11-16 05:24:56 +00:00
..
2023-09-17 11:30:20 +08:00
2023-09-15 00:24:20 +08:00
2023-10-29 22:03:01 +08:00
2023-06-17 18:12:58 +08:00