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

37 lines
1.3 KiB
Go
Raw Permalink 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操作代码。
// 生成日期2023-09-16 10:32:03
// 生成路径: internal/app/system/service/document_project.go
// 生成人gfast
// desc:项目模板
// company:云南奇讯科技有限公司
// ==========================================================================
package service
import (
"context"
)
type IDocumentProject interface {
//List(ctx context.Context, req *system.DocumentProjectSearchReq) (res *system.DocumentProjectSearchRes, err error)
//GetById(ctx context.Context, Id int) (res *model.DocumentProjectInfoRes, err error)
//Add(ctx context.Context, req *system.DocumentProjectAddReq) (err error)
//Edit(ctx context.Context, req *system.DocumentProjectEditReq) (err error)
Delete(ctx context.Context, Id []int) (err error)
//TreeStructureFunc(ctx context.Context, req *system.TreeStructureReq) (res *system.TreeStructureRes, err error)
}
var localDocumentProject IDocumentProject
func DocumentProject() IDocumentProject {
if localDocumentProject == nil {
panic("implement not found for interface IDocumentProject, forgot register?")
}
return localDocumentProject
}
func RegisterDocumentProject(i IDocumentProject) {
localDocumentProject = i
}