Files
zmkgC/internal/app/system/service/ys7devices_img.go
2025-07-07 20:11:59 +08:00

38 lines
1.3 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// ==========================================================================
// 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
}