初始化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,21 @@
package user
import (
"nl-video-api/internal/service"
"github.com/gogf/gf/v2/net/ghttp"
)
var Banner = cBanner{}
type cBanner struct{}
// GetList 获取轮播图列表
func (c *cBanner) GetList(r *ghttp.Request) {
service.Banner.UserGetList(r)
}
// GetDetail 获取轮播图详情
func (c *cBanner) GetDetail(r *ghttp.Request) {
service.Banner.UserGetDetail(r)
}