chore: 初始开源发布

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 在源仓同一提交上同样失败,属既有缺陷。
This commit is contained in:
MiFaZhan
2026-10-26 14:01:25 +08:00
commit 2ed5dfa6a1
1013 changed files with 138466 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package testdemo
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-app/api/gen/testdemo/v1"
)
type ITestdemoV1 interface {
TestDemoList(ctx context.Context, req *v1.TestDemoListReq) (res *v1.TestDemoListRes, err error)
TestDemoExport(ctx context.Context, req *v1.TestDemoExportReq) (res *v1.TestDemoExportRes, err error)
TestDemoView(ctx context.Context, req *v1.TestDemoViewReq) (res *v1.TestDemoViewRes, err error)
TestDemoEdit(ctx context.Context, req *v1.TestDemoEditReq) (res *v1.TestDemoEditRes, err error)
TestDemoDelete(ctx context.Context, req *v1.TestDemoDeleteReq) (res *v1.TestDemoDeleteRes, err error)
}
+59
View File
@@ -0,0 +1,59 @@
// Package testdemo
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //testdemo
import (
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/genin"
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询测试单表列表
type TestDemoListReq struct {
g.Meta `path:"/testDemo/list" method:"get" tags:"测试单表" summary:"获取测试单表列表" x-check-permission:"cpm:gen:testDemo:list"`
genin.TestDemoListParam
}
type TestDemoListRes struct {
response.PageResult
Items []*genin.TestDemoListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出测试单表列表
type TestDemoExportReq struct {
g.Meta `path:"/testDemo/export" method:"post" tags:"测试单表" summary:"导出测试单表列表" x-check-permission:"cpm:gen:testDemo:export"`
genin.TestDemoListParam
}
type TestDemoExportRes struct{}
// ViewReq 获取测试单表指定信息
type TestDemoViewReq struct {
g.Meta `path:"/testDemo/view" method:"get" tags:"测试单表" summary:"获取测试单表指定信息" x-check-permission:"cpm:gen:testDemo:view"`
genin.TestDemoViewParam
}
type TestDemoViewRes struct {
*genin.TestDemoViewModel
}
// EditReq 修改/新增测试单表
type TestDemoEditReq struct {
g.Meta `path:"/testDemo/edit" method:"post" tags:"测试单表" summary:"修改/新增测试单表" x-check-permission:"cpm:gen:testDemo:edit"`
genin.TestDemoEditParam
}
type TestDemoEditRes struct{}
// DeleteReq 删除测试单表
type TestDemoDeleteReq struct {
g.Meta `path:"/testDemo/delete" method:"post" tags:"测试单表" summary:"删除测试单表" x-check-permission:"cpm:gen:testDemo:delete"`
genin.TestDemoDeleteParam
}
type TestDemoDeleteRes struct{}
+20
View File
@@ -0,0 +1,20 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package testtree
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-app/api/gen/testtree/v1"
)
type ITesttreeV1 interface {
TestTreeList(ctx context.Context, req *v1.TestTreeListReq) (res *v1.TestTreeListRes, err error)
TestTreeExport(ctx context.Context, req *v1.TestTreeExportReq) (res *v1.TestTreeExportRes, err error)
TestTreeView(ctx context.Context, req *v1.TestTreeViewReq) (res *v1.TestTreeViewRes, err error)
TestTreeEdit(ctx context.Context, req *v1.TestTreeEditReq) (res *v1.TestTreeEditRes, err error)
TestTreeDelete(ctx context.Context, req *v1.TestTreeDeleteReq) (res *v1.TestTreeDeleteRes, err error)
TestTreeTreeOption(ctx context.Context, req *v1.TestTreeTreeOptionReq) (res *v1.TestTreeTreeOptionRes, err error)
}
+67
View File
@@ -0,0 +1,67 @@
// Package testtree
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //testtree
import (
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/genin"
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/response"
"git.5iot.com/iotlcm-public/iotlcm-app/utility/tree"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询测试树表列表
type TestTreeListReq struct {
g.Meta `path:"/testTree/list" method:"get" tags:"测试树表" summary:"获取测试树表列表" x-check-permission:"cpm:gen:testTree:list"`
genin.TestTreeListParam
}
type TestTreeListRes struct {
response.PageResult
Items []*genin.TestTreeListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出测试树表列表
type TestTreeExportReq struct {
g.Meta `path:"/testTree/export" method:"post" tags:"测试树表" summary:"导出测试树表列表" x-check-permission:"cpm:gen:testTree:export"`
genin.TestTreeListParam
}
type TestTreeExportRes struct{}
// ViewReq 获取测试树表指定信息
type TestTreeViewReq struct {
g.Meta `path:"/testTree/view" method:"get" tags:"测试树表" summary:"获取测试树表指定信息" x-check-permission:"cpm:gen:testTree:view"`
genin.TestTreeViewParam
}
type TestTreeViewRes struct {
*genin.TestTreeViewModel
}
// EditReq 修改/新增测试树表
type TestTreeEditReq struct {
g.Meta `path:"/testTree/edit" method:"post" tags:"测试树表" summary:"修改/新增测试树表" x-check-permission:"cpm:gen:testTree:edit"`
genin.TestTreeEditParam
}
type TestTreeEditRes struct{}
// DeleteReq 删除测试树表
type TestTreeDeleteReq struct {
g.Meta `path:"/testTree/delete" method:"post" tags:"测试树表" summary:"删除测试树表" x-check-permission:"cpm:gen:testTree:delete"`
genin.TestTreeDeleteParam
}
type TestTreeDeleteRes struct{}
// TreeOptionReq 获取测试树表关系树选项
type TestTreeTreeOptionReq struct {
g.Meta `path:"/testTree/treeOption" method:"get" tags:"测试树表" summary:"获取测试树表关系树选项" x-check-permission:"cpm:gen:testTree:treeOption"`
}
type TestTreeTreeOptionRes []tree.Node