mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-20 10:45:34 +00:00
feat: support channel type AIGC2D (#220)
* feat: add AIGC2D Channel * chore: remove console logging & update balance rendering --------- Co-authored-by: Alone88 <im@aloen88.cn> Co-authored-by: JustSong <songquanpeng@foxmail.com>
This commit is contained in:
@@ -38,6 +38,8 @@ function renderBalance(type, balance) {
|
||||
return <span>{renderNumber(balance)}</span>;
|
||||
case 12: // API2GPT
|
||||
return <span>¥{balance.toFixed(2)}</span>;
|
||||
case 13: // AIGC2D
|
||||
return <span>{renderNumber(balance)}</span>;
|
||||
default:
|
||||
return <span>不支持</span>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user