mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 17:16:38 +08:00
This commit adds a new endpoint `/token/consume` to the API router, allowing users to consume tokens from another source. It includes changes to the `token.go` file in the `controller` package. |
||
---|---|---|
.. | ||
auth | ||
billing.go | ||
channel-billing.go | ||
channel-test.go | ||
channel.go | ||
group.go | ||
log.go | ||
misc.go | ||
model.go | ||
option.go | ||
redemption.go | ||
relay.go | ||
token.go | ||
user.go |