chore: 删除无用代码

This commit is contained in:
CaIon 2024-05-13 16:04:28 +08:00
parent 71547849bc
commit 21839ed13b

View File

@ -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)