Files
zmkgC/internal/app/system/service/ys7devices.go

39 lines
1.2 KiB
Go
Raw Normal View History

2025-07-07 20:11:59 +08:00
// ==========================================================================
// GFast自动生成service操作代码。
// 生成日期2024-03-01 12:49:32
// 生成路径: internal/app/system/service/ys7devices.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 IYs7Devices interface {
List(ctx context.Context, req *system.Ys7DevicesSearchReq) (res *system.Ys7DevicesSearchRes, err error)
GetById(ctx context.Context, Id uint) (res *model.Ys7DevicesInfoRes, err error)
Add(ctx context.Context, req *system.Ys7DevicesAddReq) (err error)
Edit(ctx context.Context, req *system.Ys7DevicesEditReq) (err error)
Delete(ctx context.Context, Id []uint) (err error)
}
var localYs7Devices IYs7Devices
func Ys7Devices() IYs7Devices {
if localYs7Devices == nil {
panic("implement not found for interface IYs7Devices, forgot register?")
}
return localYs7Devices
}
func RegisterYs7Devices(i IYs7Devices) {
localYs7Devices = i
}