初始化v1
This commit is contained in:
27
internal/controller/user/vip_level.go
Normal file
27
internal/controller/user/vip_level.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user