重新整理后台管理 API,新增系统管理页面

This commit is contained in:
RockYang
2023-04-28 16:15:46 +08:00
parent 525cd524ba
commit 523cd4d4c9
10 changed files with 684 additions and 627 deletions

View File

@@ -11,11 +11,12 @@ import (
func NewDefaultConfig() *types.Config {
return &types.Config{
Listen: "0.0.0.0:5678",
ProxyURL: make([]string, 0),
EnableAuth: true,
AccessKey: "yangjian102621@gmail.com",
ImgURL: types.ImgURL{},
Title: "Chat-Plus AI 助手",
ConsoleTitle: "Chat-Plus 控制台",
Listen: "0.0.0.0:5678",
ProxyURL: make([]string, 0),
EnableAuth: true,
ImgURL: types.ImgURL{},
Session: types.Session{
SecretKey: RandString(64),