初始化v1

This commit is contained in:
2025-08-03 00:11:15 +08:00
commit b88c8b8afa
171 changed files with 22353 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package user
import (
"nl-video-api/internal/service"
"github.com/gogf/gf/v2/net/ghttp"
)
// ConfigController 系统配置控制器
type ConfigController struct{}
var Config = &ConfigController{}
// GetList 获取配置列表
func (c *ConfigController) GetList(r *ghttp.Request) {
service.Config.GetList(r)
}
// GetByKey 根据键获取配置
func (c *ConfigController) GetByKey(r *ghttp.Request) {
service.Config.GetByKey(r)
}