初始化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,27 @@
package user
import (
"nl-video-api/internal/service"
"github.com/gogf/gf/v2/net/ghttp"
)
// VipLevelController VIP等级控制器
type VipLevelController struct{}
var VipLevel = &VipLevelController{}
// GetList 获取VIP等级列表
func (c *VipLevelController) GetList(r *ghttp.Request) {
service.VipLevel.GetList(r)
}
// GetAll 获取所有VIP等级
func (c *VipLevelController) GetAll(r *ghttp.Request) {
service.VipLevel.GetAll(r)
}
// GetDetail 获取VIP等级详情
func (c *VipLevelController) GetDetail(r *ghttp.Request) {
service.VipLevel.GetDetail(r)
}