mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-24 02:46:37 +08:00
chore: 删除无用代码
This commit is contained in:
parent
71547849bc
commit
21839ed13b
@ -8,7 +8,6 @@ import (
|
||||
"fmt"
|
||||
"github.com/gin-gonic/gin"
|
||||
"io"
|
||||
"log"
|
||||
"net/http"
|
||||
"one-api/common"
|
||||
"one-api/dto"
|
||||
@ -114,7 +113,6 @@ func RelayImageHelper(c *gin.Context, relayMode int) *dto.OpenAIErrorWithStatusC
|
||||
// per 1 modelRatio = $0.04 / 16
|
||||
modelPrice = 0.0025 * modelRatio
|
||||
}
|
||||
log.Printf("modelPrice: %f", modelPrice)
|
||||
groupRatio := common.GetGroupRatio(group)
|
||||
userQuota, err := model.CacheGetUserQuota(userId)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user