You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
1.2 KiB

// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
"context"
v1 "xgit.pub/module/cms/app/api/video/v1"
)
type (
IVideo interface {
GetList(ctx context.Context, req *v1.GetListReq) (res *v1.GetListRes, err error)
// Create 创建
Create(ctx context.Context, req *v1.CreateReq) (res *v1.CreateRes, err error)
// Update 更新
Update(ctx context.Context, req *v1.UpdateReq) (err error)
// Delete 删除
Delete(ctx context.Context, req *v1.DeleteReq) (res *v1.DeleteRes, err error)
// BatchDelete 批量删除
BatchDelete(ctx context.Context, req *v1.BatchDeleteReq) (res *v1.BatchDeleteRes, err error)
// Get 获取
Get(ctx context.Context, req *v1.GetReq) (res *v1.GetRes, err error)
}
)
var (
localVideo IVideo
)
func Video() IVideo {
if localVideo == nil {
panic("implement not found for interface IVideo, forgot register?")
}
return localVideo
}
func RegisterVideo(i IVideo) {
localVideo = i
}