38 lines
1.3 KiB
Go
38 lines
1.3 KiB
Go
// ==========================================================================
|
||
// GFast自动生成service操作代码。
|
||
// 生成日期:2024-08-19 11:51:53
|
||
// 生成路径: internal/app/system/service/ys7devices_img.go
|
||
// 生成人:gfast
|
||
// desc:摄像头所拍摄到的所有图片(每月会定时清除)
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package service
|
||
|
||
import (
|
||
"context"
|
||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||
)
|
||
|
||
type IYs7DevicesImg interface {
|
||
List(ctx context.Context, req *system.Ys7DevicesImgSearchReq) (res *system.Ys7DevicesImgSearchRes, err error)
|
||
GetById(ctx context.Context, Id uint64) (res *model.Ys7DevicesImgInfoRes, err error)
|
||
Add(ctx context.Context, req *system.Ys7DevicesImgAddReq) (err error)
|
||
Edit(ctx context.Context, req *system.Ys7DevicesImgEditReq) (err error)
|
||
Delete(ctx context.Context, Id []uint64) (err error)
|
||
}
|
||
|
||
var localYs7DevicesImg IYs7DevicesImg
|
||
|
||
func Ys7DevicesImg() IYs7DevicesImg {
|
||
if localYs7DevicesImg == nil {
|
||
panic("implement not found for interface IYs7DevicesImg, forgot register?")
|
||
}
|
||
return localYs7DevicesImg
|
||
}
|
||
|
||
func RegisterYs7DevicesImg(i IYs7DevicesImg) {
|
||
localYs7DevicesImg = i
|
||
}
|