This commit is contained in:
wood
2023-10-20 16:01:55 +08:00
parent 64cdb7eafb
commit cc1b401380
32 changed files with 140 additions and 178 deletions

View File

@@ -11,7 +11,7 @@ import (
var StartTime = time.Now().Unix() // unit: second
var Version = "v0.0.0" // this hard coding will be replaced automatically when building, no need to manually change
var SystemName = "One API"
var SystemName = "CZL Oapi"
var ServerAddress = "http://localhost:3000"
var Footer = ""
var Logo = ""
@@ -31,7 +31,7 @@ var SQLitePath = "one-api.db"
var OptionMap map[string]string
var OptionMapRWMutex sync.RWMutex
var ItemsPerPage = 10
var ItemsPerPage = 20
var MaxRecentItems = 100
var PasswordLoginEnabled = true

View File

@@ -16,9 +16,8 @@ var (
)
func printHelp() {
fmt.Println("One API " + Version + " - All in one API service for OpenAI API.")
fmt.Println("Copyright (C) 2023 JustSong. All rights reserved.")
fmt.Println("GitHub: https://github.com/songquanpeng/one-api")
fmt.Println("CZL Oapi " + Version + " - All in CZL Oapi service for OpenAI API.")
fmt.Println("Copyright (C) 2023 CZL. All rights reserved.")
fmt.Println("Usage: one-api [--port <port>] [--log-dir <log directory>] [--version] [--help]")
}