2ed5dfa6a1
iotlcm-app:小程序端 + 用户端服务。 - app/:uni-app 小程序前端(基于 unibest,MIT) - 微信 AppID → YOUR_WX_APPID,uni-app AppID → __UNI__YOURAPPID - 内网后端地址 → admin.iotlcm.example.com - 应用标题与 unibest 模板 README 重写(保留上游致谢与 MIT 声明) - server/:GoFrame 用户端服务(基于 XiuAdmin,Apache-2.0) - module xiuadmin → git.5iot.com/iotlcm-public/iotlcm-app(360 文件) - 支付回调地址 → app.iotlcm.example.com,商户名与应用名泛化 - 真实手机号 → 合法 11 位编造号(保留号段前 3 位 + 后 4 位) - 依赖号码尾部的断言同步更新 - 补 server/LICENSE(Apache-2.0) - 移除内部资产:CI 触发器 - 补根 README,LF 行尾 + .gitattributes 已知:TestSysDept_RefreshDeptAncestors 在源仓同一提交上同样失败,属既有缺陷。
76 lines
2.7 KiB
Go
76 lines
2.7 KiB
Go
// ================================================================================
|
|
// 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"
|
|
"git.5iot.com/iotlcm-public/iotlcm-app/internal/library/xgorm/handler"
|
|
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/genin"
|
|
"git.5iot.com/iotlcm-public/iotlcm-app/utility/tree"
|
|
|
|
"github.com/gogf/gf/v2/database/gdb"
|
|
)
|
|
|
|
type (
|
|
IGenTestDemo interface {
|
|
// Model 测试单表ORM模型
|
|
Model(ctx context.Context, option ...*handler.Option) *gdb.Model
|
|
// List 获取测试单表列表
|
|
List(ctx context.Context, in *genin.TestDemoListParam) (list []*genin.TestDemoListModel, totalCount int, err error)
|
|
// Export 导出测试单表
|
|
Export(ctx context.Context, in *genin.TestDemoListParam) (err error)
|
|
// Edit 修改/新增测试单表
|
|
Edit(ctx context.Context, in *genin.TestDemoEditParam) (err error)
|
|
// Delete 删除测试单表
|
|
Delete(ctx context.Context, in *genin.TestDemoDeleteParam) (err error)
|
|
// View 获取测试单表指定信息
|
|
View(ctx context.Context, in *genin.TestDemoViewParam) (res *genin.TestDemoViewModel, err error)
|
|
}
|
|
IGenTestTree interface {
|
|
// Model 测试树表ORM模型
|
|
Model(ctx context.Context, option ...*handler.Option) *gdb.Model
|
|
// List 获取测试树表列表
|
|
List(ctx context.Context, in *genin.TestTreeListParam) (list []*genin.TestTreeListModel, totalCount int, err error)
|
|
// Export 导出测试树表
|
|
Export(ctx context.Context, in *genin.TestTreeListParam) (err error)
|
|
// Edit 修改/新增测试树表
|
|
Edit(ctx context.Context, in *genin.TestTreeEditParam) (err error)
|
|
// Delete 删除测试树表
|
|
Delete(ctx context.Context, in *genin.TestTreeDeleteParam) (err error)
|
|
// View 获取测试树表指定信息
|
|
View(ctx context.Context, in *genin.TestTreeViewParam) (res *genin.TestTreeViewModel, err error)
|
|
// TreeOption 获取测试树表关系树选项
|
|
TreeOption(ctx context.Context) (nodes []tree.Node, err error)
|
|
}
|
|
)
|
|
|
|
var (
|
|
localGenTestDemo IGenTestDemo
|
|
localGenTestTree IGenTestTree
|
|
)
|
|
|
|
func GenTestDemo() IGenTestDemo {
|
|
if localGenTestDemo == nil {
|
|
panic("implement not found for interface IGenTestDemo, forgot register?")
|
|
}
|
|
return localGenTestDemo
|
|
}
|
|
|
|
func RegisterGenTestDemo(i IGenTestDemo) {
|
|
localGenTestDemo = i
|
|
}
|
|
|
|
func GenTestTree() IGenTestTree {
|
|
if localGenTestTree == nil {
|
|
panic("implement not found for interface IGenTestTree, forgot register?")
|
|
}
|
|
return localGenTestTree
|
|
}
|
|
|
|
func RegisterGenTestTree(i IGenTestTree) {
|
|
localGenTestTree = i
|
|
}
|