chore: 初始开源发布

iotlcm-onelink-mock:OneLink 挡板服务(本地测试替身)。

- Go module 迁移至 git.5iot.com/iotlcm-public/iotlcm-onelink-mock
- 修复同毫秒内多次生成卡导致 ICCID/IMSI 唯一约束冲突
- 补 Apache-2.0 LICENSE,README 重写并新增 docs/deploy.md
- 移除内部部署资产(CI 触发器 / 镜像推送脚本 / 指定环境部署文档)
- 测试凭据改为 demo_appid / demo_password,真实手机号与内网 IP 脱敏
- 统一 LF 行尾并加 .gitattributes
This commit is contained in:
MiFaZhan
2026-10-22 15:08:27 +08:00
commit 4e2cd43a55
61 changed files with 10417 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// MockCardGroup is the golang structure of table mock_card_group for DAO operations like Where/Data.
type MockCardGroup struct {
g.Meta `orm:"table:mock_card_group, do:true"`
Id any //
Name any //
CreatedAt any //
UpdatedAt any //
}
+24
View File
@@ -0,0 +1,24 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// MockOrder is the golang structure of table mock_order for DAO operations like Where/Data.
type MockOrder struct {
g.Meta `orm:"table:mock_order, do:true"`
Id any //
OrderNum any //
Msisdn any //
Iccid any //
Imsi any //
Type any //
OperType any //
ApnName any //
Status any //
CreatedAt any //
}
+69
View File
@@ -0,0 +1,69 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
)
// MockTSimCard is the golang structure of table mock_t_sim_card for DAO operations like Where/Data.
type MockTSimCard struct {
g.Meta `orm:"table:mock_t_sim_card, do:true"`
Id any //
GroupId any //
Msisdn any //
Iccid any //
Imsi any //
Imei any //
Remark any //
Carrier any //
PackageCode any //
PackageName any //
PackageStatus any //
PackageTotalFlowMb any //
IsFlowPool any //
CardStatus any //
LastChangeDate any //
StopReason any //
FrozenStatus any //
FrozenReason any //
FrozenOperTime any //
OpenDate any //
ActiveDate any //
OnOffStatus any //
SessionStatus any //
ApnId any //
SessionIpv4 any //
SessionIpv6Prefix any //
SessionIpv6 any //
SessionCreateDate any //
Rat any //
ApnListJson any //
ApnUsageJson any //
PrimaryApnName any //
PrimaryApnStatus any //
PrimaryApnUsageKb any //
PrimaryApnUsageBytes any //
PccCode any //
PccUsageKb any //
CurrentMonthUsageKb any //
PoolUsageBytes any //
DailyUsageKb any //
MonthlyUsageKb any //
DailyQueryDate any //
MonthlyQueryMonth any //
MonthlyDeadline any //
GrowthPerMinuteKb any //
AutoGrowthEnabled any //
LastUsageUpdateTime any //
CardBindStatus any //
RegionLimitStatus any //
AreaRestrictType any //
RestrictedArea any //
Exported any //
ExportCheckedAt any //
CreatedAt any //
UpdatedAt any //
}