更新余额查询接口

This commit is contained in:
Sakurasan
2023-04-11 22:23:00 +08:00
parent 8257cd9bd9
commit 21bf006a57

View File

@@ -59,7 +59,7 @@ func main() {
r.POST("/v1/chat/completions", router.HandleProy)
r.GET("/v1/models", router.HandleProy)
r.GET("/v1/dashboard/billing/credit_grants", router.HandleProy)
r.GET("/v1/dashboard/billing/subscription", router.HandleProy)
r.GET("/", func(c *gin.Context) {
c.Writer.WriteHeader(http.StatusOK)
c.Writer.WriteString(`<h1><a href="https://github.com/mirrors2/opencatd-open" >opencatd-open</a> available</h1>Api-Keys:<a href=https://platform.openai.com/account/api-keys >https://platform.openai.com/account/api-keys</a>`)