chore: 初始开源发布

iotlcm-admin-svr:管理后台服务。

- Go module:iotlcm → git.5iot.com/iotlcm-public/iotlcm-admin-svr(729 文件)
- 凭据与地址脱敏:JWT signingKey(含代码里的 MustGet 默认值)、
  MySQL DSN、Redis 口令、告警邮件发件人邮箱全部改为占位;
  私网 IP → 文档地址段;库名 xiujie_admin → iotlcm
- 真实手机号/邮箱 → 合法 11 位编造号 / example.com
- 移除内部资产:CI 触发器、过时 DDL(sql/db_iotlcm.sql)、
  私有依赖 go get 行、明文 registry 登录口令
- 启动 banner 统一 IOTLCM 方块字 + 社区惯例署名
- Dockerfile 改用公共基础镜像
- 拼错的 RADEME.md → README.md,README 重写
- 需要真实数据库的用例改为可用 IOTLCM_TEST_WITH_DB=1 显式启用
- 补 Apache-2.0 LICENSE,LF 行尾 + .gitattributes

数据库 schema 不随本仓发布(生产 DDL 已过时),README 已说明。
This commit is contained in:
MiFaZhan
2026-10-23 14:46:05 +08:00
commit 59eb34976a
1132 changed files with 138197 additions and 0 deletions
+85
View File
@@ -0,0 +1,85 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/service/fullsyncretry"
"github.com/gogf/gf/v2/frame/g"
)
type FullSyncRunsListReq struct {
g.Meta `path:"/fullSyncRuns" method:"get" tags:"全量同步" summary:"查询全量同步" x-check-permission:"cpm:iot:fullSyncRuns:view"`
SyncKind string `json:"syncKind"`
Limit int `json:"limit"`
}
type FullSyncRunsListRes struct {
Items []fullsyncretry.RunView `json:"items"`
Total int `json:"total"`
}
type FullSyncRunDetailReq struct {
g.Meta `path:"/fullSyncRuns/{runId}" method:"get" tags:"全量同步" summary:"查看全量同步详情" x-check-permission:"cpm:iot:fullSyncRuns:view"`
RunID string `json:"runId" v:"required"`
}
type FullSyncRunDetailRes struct {
fullsyncretry.RunView
SyncKind string `json:"syncKind"`
SyncName string `json:"syncName"`
}
type FullSyncRunFailuresReq struct {
g.Meta `path:"/fullSyncRuns/{runId}/failures" method:"get" tags:"全量同步" summary:"查看全量同步失败明细" x-check-permission:"cpm:iot:fullSyncRuns:failures"`
RunID string `json:"runId" v:"required"`
Limit int `json:"limit"`
Cursor string `json:"cursor"`
}
type FullSyncRunFailuresRes struct {
Items []fullsyncretry.Failure `json:"items"`
NextCursor string `json:"nextCursor"`
}
type FullSyncRunStartReq struct {
g.Meta `path:"/fullSyncRuns/start" method:"post" tags:"全量同步" summary:"手动启动全量同步" x-check-permission:"cpm:iot:fullSyncRuns:start"`
SyncKind string `json:"syncKind" v:"required"`
// Channels narrows the run to the listed chanKeys. Empty or omitted means a
// full sync, which is the only behaviour that existed before this field.
Channels []string `json:"channels"`
// QueryDate backfills a specific day (yyyyMMdd) instead of the default
// "yesterday". Only valid when syncKind=traffic_usage_daily; empty keeps the
// default period.
QueryDate string `json:"queryDate"`
// QueryMonth backfills a specific month (yyyyMM) instead of the default
// "previous month". Only valid when syncKind=traffic_usage_monthly; empty
// keeps the default period.
QueryMonth string `json:"queryMonth"`
}
type FullSyncRunStartRes struct {
RunID string `json:"runId"`
SyncKind string `json:"syncKind"`
Status string `json:"status"`
// ScopeChannels is the normalized channel count; 0 means a full sync.
ScopeChannels int `json:"scopeChannels"`
// QueryPeriod echoes the requested period (yyyyMMdd or yyyyMM); empty means
// the run used its default period.
QueryPeriod string `json:"queryPeriod"`
}
type FullSyncChannelOptionsReq struct {
g.Meta `path:"/fullSyncRuns/channels" method:"get" tags:"全量同步" summary:"可同步通道候选" x-check-permission:"cpm:iot:fullSyncRuns:view"`
}
type FullSyncChannelOptionsRes struct {
Items []FullSyncChannelOption `json:"items"`
}
type FullSyncChannelOption struct {
ChanKey string `json:"chanKey"`
ChanName string `json:"chanName"`
TempKey string `json:"tempKey"`
Operator int `json:"operator"`
CardCount int64 `json:"cardCount"`
SyncEnabled bool `json:"syncEnabled"`
}
+30
View File
@@ -0,0 +1,30 @@
package v1
import "github.com/gogf/gf/v2/frame/g"
type FullSyncReplayReq struct {
g.Meta `path:"/fullSyncRuns/replay" method:"post" tags:"全量同步" summary:"重投Run失败卡" x-check-permission:"cpm:iot:fullSyncRuns:replay"`
SourceRunID string `json:"sourceRunId" v:"required"`
// MaxRounds 省略或为 0 时使用 Worker 配置默认值(当前 3);显式范围为 1..100。
MaxRounds int `json:"maxRounds" v:"min:0|max:100"`
}
type FullSyncReplayRes struct {
ReplayRunID string `json:"replayRunId"`
Status string `json:"status"`
}
type FullSyncReplayStatusReq struct {
g.Meta `path:"/fullSyncRuns/replay/{replayRunId}" method:"get" tags:"全量同步" summary:"查看重投状态" x-check-permission:"cpm:iot:fullSyncRuns:replay:view"`
ReplayRunID string `json:"replayRunId" v:"required"`
}
type FullSyncReplayStatusRes struct {
ReplayRunID string `json:"replayRunId"`
SourceRunID string `json:"sourceRunId"`
Status string `json:"status"`
Remaining int64 `json:"remaining"`
Enqueued int64 `json:"enqueued"`
RunStatus string `json:"runStatus,omitempty"`
Error string `json:"error,omitempty"`
}
+56
View File
@@ -0,0 +1,56 @@
// Package torder
// @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
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
type SimWarningConfigListReq struct {
g.Meta `path:"/simWarningConfig/list" method:"get" tags:"单卡预警配置" summary:"获取单卡预警配置列表" x-check-permission:"cpm:iot:simWarningConfig:list"`
model.SimWarningConfigListParam
}
type SimWarningConfigListRes struct {
response.PageResult
Items []*model.SimWarningConfigModel `json:"items" dc:"数据列表"`
}
type SimWarningConfigViewReq struct {
g.Meta `path:"/simWarningConfig/view" method:"get" tags:"单卡预警配置" summary:"获取单卡预警配置详情" x-check-permission:"cpm:iot:simWarningConfig:view"`
model.SimWarningConfigViewParam
}
type SimWarningConfigViewRes struct {
*model.SimWarningConfigModel
}
type SimWarningConfigSaveReq struct {
g.Meta `path:"/simWarningConfig/save" method:"post" tags:"单卡预警配置" summary:"保存单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:save"`
model.SimWarningConfigSaveParam
}
type SimWarningConfigSaveRes struct {
*model.SimWarningConfigSaveModel
}
type SimWarningConfigStatusReq struct {
g.Meta `path:"/simWarningConfig/status" method:"post" tags:"单卡预警配置" summary:"启停单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:status"`
model.SimWarningConfigStatusParam
}
type SimWarningConfigStatusRes struct{}
type SimWarningConfigDeleteReq struct {
g.Meta `path:"/simWarningConfig/delete" method:"post" tags:"单卡预警配置" summary:"删除单卡预警配置" x-check-permission:"cpm:iot:simWarningConfig:delete"`
model.SimWarningConfigDeleteParam
}
type SimWarningConfigDeleteRes struct{}
+59
View File
@@ -0,0 +1,59 @@
// Package tflowpackageconfig
// @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 //tflowpackageconfig
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询SIM流量池套餐配置表列表
type TFlowPackageConfigListReq struct {
g.Meta `path:"/tFlowPackageConfig/list" method:"get" tags:"SIM流量池套餐配置表" summary:"获取SIM流量池套餐配置表列表" x-check-permission:"cpm:iot:tFlowPackageConfig:list"`
model.TFlowPackageConfigListParam
}
type TFlowPackageConfigListRes struct {
response.PageResult
Items []*model.TFlowPackageConfigListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出SIM流量池套餐配置表列表
type TFlowPackageConfigExportReq struct {
g.Meta `path:"/tFlowPackageConfig/export" method:"post" tags:"SIM流量池套餐配置表" summary:"导出SIM流量池套餐配置表列表" x-check-permission:"cpm:iot:tFlowPackageConfig:export"`
model.TFlowPackageConfigListParam
}
type TFlowPackageConfigExportRes struct{}
// ViewReq 获取SIM流量池套餐配置表指定信息
type TFlowPackageConfigViewReq struct {
g.Meta `path:"/tFlowPackageConfig/view" method:"get" tags:"SIM流量池套餐配置表" summary:"获取SIM流量池套餐配置表指定信息" x-check-permission:"cpm:iot:tFlowPackageConfig:view"`
model.TFlowPackageConfigViewParam
}
type TFlowPackageConfigViewRes struct {
*model.TFlowPackageConfigViewModel
}
// EditReq 修改/新增SIM流量池套餐配置表
type TFlowPackageConfigEditReq struct {
g.Meta `path:"/tFlowPackageConfig/edit" method:"post" tags:"SIM流量池套餐配置表" summary:"修改/新增SIM流量池套餐配置表" x-check-permission:"cpm:iot:tFlowPackageConfig:edit"`
model.TFlowPackageConfigEditParam
}
type TFlowPackageConfigEditRes struct{}
// DeleteReq 删除SIM流量池套餐配置表
type TFlowPackageConfigDeleteReq struct {
g.Meta `path:"/tFlowPackageConfig/delete" method:"post" tags:"SIM流量池套餐配置表" summary:"删除SIM流量池套餐配置表" x-check-permission:"cpm:iot:tFlowPackageConfig:delete"`
model.TFlowPackageConfigDeleteParam
}
type TFlowPackageConfigDeleteRes struct{}
+70
View File
@@ -0,0 +1,70 @@
// Package torder
// @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 //torder
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询订单主表列表
type TOrderListReq struct {
g.Meta `path:"/tOrder/list" method:"get" tags:"订单主表" summary:"获取订单主表列表" x-check-permission:"cpm:iot:tOrder:list"`
model.TOrderListParam
}
type TOrderListRes struct {
response.PageResult
Items []*model.TOrderListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出订单主表列表
type TOrderExportReq struct {
g.Meta `path:"/tOrder/export" method:"post" tags:"订单主表" summary:"导出订单主表列表" x-check-permission:"cpm:iot:tOrder:export"`
model.TOrderListParam
}
type TOrderExportRes struct{}
// ViewReq 获取订单主表指定信息
type TOrderViewReq struct {
g.Meta `path:"/tOrder/view" method:"get" tags:"订单主表" summary:"获取订单主表指定信息" x-check-permission:"cpm:iot:tOrder:view"`
model.TOrderViewParam
}
type TOrderViewRes struct {
*model.TOrderViewModel
}
// EditReq 修改/新增订单主表
type TOrderEditReq struct {
g.Meta `path:"/tOrder/edit" method:"post" tags:"订单主表" summary:"修改/新增订单主表" x-check-permission:"cpm:iot:tOrder:edit"`
model.TOrderEditParam
}
type TOrderEditRes struct{}
// DeleteReq 删除订单主表
type TOrderDeleteReq struct {
g.Meta `path:"/tOrder/delete" method:"post" tags:"订单主表" summary:"删除订单主表" x-check-permission:"cpm:iot:tOrder:delete"`
model.TOrderDeleteParam
}
type TOrderDeleteRes struct{}
// SellListReq 获取销售订单列表
type TOrderSellListReq struct {
g.Meta `path:"/tOrder/sellList" method:"get" tags:"订单主表" summary:"获取销售订单列表" x-check-permission:"cpm:iot:tOrder:sellList"`
model.TOrderListParam
}
type TOrderSellListRes struct {
response.PageResult
Items []*model.TOrderListModel `json:"items" dc:"数据列表"`
}
+49
View File
@@ -0,0 +1,49 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardAllocateTargetListReq struct {
g.Meta `path:"/tSimCardAllocate/targets" method:"get" tags:"卡划拨" summary:"查询卡划拨目标客户" x-check-permission:"cpm:iot:tSimCardAllocate:targets"`
model.TSimCardAllocateTargetListParam
}
type TSimCardAllocateExcelTemplateReq struct {
g.Meta `path:"/tSimCardAllocate/excel/template" method:"get" tags:"卡划拨" summary:"下载卡划拨Excel模板" x-check-permission:"cpm:iot:tSimCardAllocate:excel:template"`
}
type TSimCardAllocateExcelTemplateRes struct{}
type TSimCardAllocateTargetListRes struct {
Items []*model.TSimCardAllocateTargetModel `json:"items" dc:"目标客户列表"`
}
type TSimCardAllocateInputPrepareReq struct {
g.Meta `path:"/tSimCardAllocate/input/prepare" method:"post" tags:"卡划拨" summary:"批量输入提交卡划拨异步任务" x-check-permission:"cpm:iot:tSimCardAllocate:input:prepare"`
model.TSimCardAllocatePrepareParam
}
type TSimCardAllocateInputPrepareRes struct {
*model.TSimCardAllocateBatchModel
}
type TSimCardAllocateExcelSubmitReq struct {
g.Meta `path:"/tSimCardAllocate/excel/submit" method:"post" tags:"卡划拨" summary:"Excel提交卡划拨异步任务" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardAllocate:excel:submit"`
model.TSimCardAllocateExcelSubmitParam
}
type TSimCardAllocateExcelSubmitRes struct {
*model.TSimCardAllocateBatchModel
}
type TSimCardAllocateBatchSubmitReq struct {
g.Meta `path:"/tSimCardAllocate/batch/submit" method:"post" tags:"卡划拨" summary:"确认卡划拨" x-check-permission:"cpm:iot:tSimCardAllocate:batch:submit"`
model.TSimCardAllocateBatchSubmitParam
}
type TSimCardAllocateBatchSubmitRes struct {
*model.TSimCardAllocateBatchModel
}
+136
View File
@@ -0,0 +1,136 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardBindPkgListReq struct {
g.Meta `path:"/tSimCardBindPkg/list" method:"get" tags:"订购表" summary:"获取订购表列表" x-check-permission:"cpm:iot:tSimCardBindPkg:list"`
model.TSimCardBindPkgListParam
}
type TSimCardBindPkgListRes struct {
response.PageResult
Items []*model.TSimCardBindPkgListModel `json:"items" dc:"数据列表"`
}
type TSimCardBindPkgExportReq struct {
g.Meta `path:"/tSimCardBindPkg/export" method:"post" tags:"订购表" summary:"导出订购表列表" x-check-permission:"cpm:iot:tSimCardBindPkg:export"`
model.TSimCardBindPkgListParam
}
type TSimCardBindPkgExportRes struct{}
type TSimCardBindPkgViewReq struct {
g.Meta `path:"/tSimCardBindPkg/view" method:"get" tags:"订购表" summary:"获取订购表详情" x-check-permission:"cpm:iot:tSimCardBindPkg:view"`
model.TSimCardBindPkgViewParam
}
type TSimCardBindPkgViewRes struct {
*model.TSimCardBindPkgViewModel
}
type TSimCardBindPkgEditReq struct {
g.Meta `path:"/tSimCardBindPkg/edit" method:"post" tags:"订购表" summary:"新增或修改订购表" x-check-permission:"cpm:iot:tSimCardBindPkg:edit"`
model.TSimCardBindPkgEditParam
}
type TSimCardBindPkgEditRes struct{}
type TSimCardBindPkgDeleteReq struct {
g.Meta `path:"/tSimCardBindPkg/delete" method:"post" tags:"订购表" summary:"删除订购表" x-check-permission:"cpm:iot:tSimCardBindPkg:delete"`
model.TSimCardBindPkgDeleteParam
}
type TSimCardBindPkgDeleteRes struct{}
type TSimCardBindPkgGetPkgInfoReq struct {
g.Meta `path:"/tSimCardBindPkg/getPkgInfo" method:"get" tags:"订购表" summary:"套餐详情查询" x-check-permission:"cpm:iot:tSimCardBindPkg:getPkgInfo"`
model.TSimCardBindPkgInfoParam
}
type TSimCardBindPkgGetPkgInfoRes struct {
response.PageResult
Items []*model.TSimCardBindPkgListModel `json:"items" dc:"套餐详情列表"`
}
type TSimCardBindPkgGetChangePkgReq struct {
g.Meta `path:"/tSimCardBindPkg/getChangePkg" method:"get" tags:"订购表" summary:"变更套餐查询" x-check-permission:"cpm:iot:tSimCardBindPkg:getChangePkg"`
model.TSimCardBindPkgInfoParam
}
type TSimCardBindPkgGetChangePkgRes struct {
response.PageResult
Items []*model.TSimCardBindPkgListModel `json:"items" dc:"变更套餐列表"`
}
type TSimCardBindPkgAddPackageOptionsReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/options" method:"post" tags:"加油包" summary:"获取单卡可订购加油包" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
model.TSimCardAddPackageOptionsParam
}
type TSimCardBindPkgAddPackageOptionsRes struct {
*model.TSimAddPackageOptionsRes
}
type TSimCardBindPkgAddPackagePaymentContextReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/payment-context" method:"post" tags:"加油包" summary:"获取单卡加油包支付上下文" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
}
type TSimCardBindPkgAddPackagePaymentContextRes struct {
*model.TSimAddPackageOptionsRes
}
type TSimCardBindPkgDownloadExcelTemplateReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/excel/template" method:"get" tags:"加油包" summary:"下载单卡加油包导入模板" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
}
type TSimCardBindPkgDownloadExcelTemplateRes struct{}
type TSimCardBindPkgSubmitExcelReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/excel/submit" method:"post" tags:"加油包" summary:"提交单卡加油包Excel批次" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
model.TSimCardBindPkgAddPackageExcelSubmitParam
}
type TSimCardBindPkgSubmitExcelRes struct {
*model.TSimCardBindPkgAddPackageExcelSubmitRes
}
type TSimCardBindPkgSubmitInputReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/input/submit" method:"post" tags:"加油包" summary:"提交单卡加油包手输批次" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
model.TSimCardBindPkgAddPackageInputSubmitParam
}
type TSimCardBindPkgSubmitInputRes struct {
*model.TSimCardBindPkgAddPackageInputSubmitRes
}
type TSimCardBindPkgAddPackageInputPrepareReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/input/prepare" method:"post" tags:"加油包" summary:"单卡加油包手输预处理" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
model.TSimCardBindPkgAddPackageInputPrepareParam
}
type TSimCardBindPkgAddPackageInputPrepareRes struct {
*model.TSimCardBindPkgAddPackageInputPrepareRes
}
type TSimCardBindPkgAddPackagePrepareResultReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/prepare/result" method:"get" tags:"加油包" summary:"查询单卡加油包预处理结果" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
}
type TSimCardBindPkgAddPackagePrepareResultRes struct {
*model.TSimCardBindPkgAddPackagePrepareResultRes
}
type TSimCardBindPkgAddPackageBatchConfirmReq struct {
g.Meta `path:"/tSimCardBindPkg/addPackage/batch/confirm" method:"post" tags:"加油包" summary:"确认单卡加油包采购批次" x-check-permission:"cpm:iot:tSimCardBindPkg:addPackage"`
model.TSimCardBindPkgAddPackageBatchConfirmParam
}
type TSimCardBindPkgAddPackageBatchConfirmRes struct {
*model.TSimCardBindPkgAddPackageBatchConfirmRes
}
+31
View File
@@ -0,0 +1,31 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardCancelExcelTemplateReq struct {
g.Meta `path:"/tSimCardCancel/excel/template" method:"get" tags:"卡销户" summary:"下载批量卡销户Excel模板" x-check-permission:"cpm:iot:tSimCardCancel:excel:template"`
}
type TSimCardCancelExcelTemplateRes struct{}
type TSimCardCancelExcelSubmitReq struct {
g.Meta `path:"/tSimCardCancel/excel/submit" method:"post" tags:"卡销户" summary:"提交Excel批量卡销户" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardCancel:excel:submit"`
model.TSimCardCancelExcelSubmitParam
}
type TSimCardCancelExcelSubmitRes struct {
*model.TSimCardCancelExcelSubmitRes
}
type TSimCardCancelInputSubmitReq struct {
g.Meta `path:"/tSimCardCancel/input/submit" method:"post" tags:"卡销户" summary:"提交批量输入卡销户" x-check-permission:"cpm:iot:tSimCardCancel:input:submit"`
model.TSimCardCancelInputSubmitParam
}
type TSimCardCancelInputSubmitRes struct {
*model.TSimCardCancelInputSubmitRes
}
+25
View File
@@ -0,0 +1,25 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardCancellationListReq struct {
g.Meta `path:"/tSimCardCancellation/list" method:"get" tags:"销户卡信息" summary:"获取销户卡信息列表" x-check-permission:"cpm:iot:tSimCardCancellation:list"`
model.TSimCardCancellationListParam
}
type TSimCardCancellationListRes struct {
response.PageResult
Items []*model.TSimCardCancellationListModel `json:"items" dc:"数据列表"`
}
type TSimCardCancellationExportReq struct {
g.Meta `path:"/tSimCardCancellation/export" method:"post" tags:"销户卡信息" summary:"导出销户卡信息" x-check-permission:"cpm:iot:tSimCardCancellation:export"`
model.TSimCardCancellationFilter
}
type TSimCardCancellationExportRes struct{}
+76
View File
@@ -0,0 +1,76 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardChangeExcelTemplateReq struct {
g.Meta `path:"/tSimCardChange/excel/template" method:"get" tags:"卡变更套餐" summary:"下载Excel卡变更套餐模板" x-check-permission:"cpm:iot:tSimCardChange:excel:template"`
}
type TSimCardChangeExcelTemplateRes struct{}
type TSimCardChangeExcelSubmitReq struct {
g.Meta `path:"/tSimCardChange/excel/submit" method:"post" tags:"卡变更套餐" summary:"提交Excel卡变更套餐" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardChange:excel:submit"`
model.TSimCardChangeExcelSubmitParam
}
type TSimCardChangeExcelSubmitRes struct {
*model.TSimCardChangeExcelSubmitRes
}
type TSimCardChangeInputOptionsReq struct {
g.Meta `path:"/tSimCardChange/input/change-options" method:"post" tags:"卡变更套餐" summary:"获取批量输入卡可变更套餐" x-check-permission:"cpm:iot:tSimCardChange:input:prepare"`
model.TSimCardChangeInputOptionsParam
}
type TSimCardChangeInputOptionsRes struct {
*model.TSimCardChangeOptionsRes
}
type TSimCardChangeRangeOptionsReq struct {
g.Meta `path:"/tSimCardChange/range/change-options" method:"post" tags:"卡变更套餐" summary:"获取连号卡可变更套餐" x-check-permission:"cpm:iot:tSimCardChange:range:prepare"`
model.TSimCardChangeRangeOptionsParam
}
type TSimCardChangeRangeOptionsRes struct {
*model.TSimCardChangeOptionsRes
}
type TSimCardChangeInputPrepareReq struct {
g.Meta `path:"/tSimCardChange/input/prepare" method:"post" tags:"卡变更套餐" summary:"批量输入卡变更套餐预处理" x-check-permission:"cpm:iot:tSimCardChange:input:prepare"`
model.TSimCardChangeInputPrepareParam
}
type TSimCardChangeInputPrepareRes struct {
*model.TSimCardChangeBatchPrepareRes
}
type TSimCardChangeRangePrepareReq struct {
g.Meta `path:"/tSimCardChange/range/prepare" method:"post" tags:"卡变更套餐" summary:"连号卡变更套餐预处理" x-check-permission:"cpm:iot:tSimCardChange:range:prepare"`
model.TSimCardChangeRangePrepareParam
}
type TSimCardChangeRangePrepareRes struct {
*model.TSimCardChangeBatchPrepareRes
}
type TSimCardChangeBatchSubmitReq struct {
g.Meta `path:"/tSimCardChange/batch/submit" method:"post" tags:"卡变更套餐" summary:"提交批次卡变更套餐" x-check-permission:"cpm:iot:tSimCardChange:batch:submit"`
model.TSimCardChangeBatchSubmitParam
}
type TSimCardChangeBatchSubmitRes struct {
*model.TSimCardChangeBatchSubmitRes
}
type TSimCardChangePrepareResultReq struct {
g.Meta `path:"/tSimCardChange/prepare/result" method:"get" tags:"卡变更套餐" summary:"查询卡变更预处理结果" x-check-permission:"cpm:iot:tSimCardChange:prepare:result"`
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
}
type TSimCardChangePrepareResultRes struct {
*model.TSimCardChangePrepareResultRes
}
+31
View File
@@ -0,0 +1,31 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardDataCutExcelTemplateReq struct {
g.Meta `path:"/tSimCardDataCut/excel/template" method:"get" tags:"达量断网" summary:"下载批量达量断网Excel模板" x-check-permission:"cpm:iot:tSimCardDataCut:excel:template"`
}
type TSimCardDataCutExcelTemplateRes struct{}
type TSimCardDataCutExcelSubmitReq struct {
g.Meta `path:"/tSimCardDataCut/excel/submit" method:"post" tags:"达量断网" summary:"提交Excel批量达量断网" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardDataCut:excel:submit"`
model.TSimCardDataCutExcelSubmitParam
}
type TSimCardDataCutExcelSubmitRes struct {
*model.TSimCardDataCutExcelSubmitRes
}
type TSimCardDataCutInputSubmitReq struct {
g.Meta `path:"/tSimCardDataCut/input/submit" method:"post" tags:"达量断网" summary:"提交批量输入达量断网" x-check-permission:"cpm:iot:tSimCardDataCut:input:submit"`
model.TSimCardDataCutInputSubmitParam
}
type TSimCardDataCutInputSubmitRes struct {
*model.TSimCardDataCutInputSubmitRes
}
+31
View File
@@ -0,0 +1,31 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardDataStartExcelTemplateReq struct {
g.Meta `path:"/tSimCardDataStart/excel/template" method:"get" tags:"数据服务开通" summary:"下载批量数据服务开通Excel模板" x-check-permission:"cpm:iot:tSimCardDataStart:excel:template"`
}
type TSimCardDataStartExcelTemplateRes struct{}
type TSimCardDataStartExcelSubmitReq struct {
g.Meta `path:"/tSimCardDataStart/excel/submit" method:"post" tags:"数据服务开通" summary:"提交Excel批量数据服务开通" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardDataStart:excel:submit"`
model.TSimCardDataStartExcelSubmitParam
}
type TSimCardDataStartExcelSubmitRes struct {
*model.TSimCardDataStartSubmitRes
}
type TSimCardDataStartInputSubmitReq struct {
g.Meta `path:"/tSimCardDataStart/input/submit" method:"post" tags:"数据服务开通" summary:"提交批量输入数据服务开通" x-check-permission:"cpm:iot:tSimCardDataStart:input:submit"`
model.TSimCardDataStartInputSubmitParam
}
type TSimCardDataStartInputSubmitRes struct {
*model.TSimCardDataStartSubmitRes
}
+31
View File
@@ -0,0 +1,31 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardDataStopExcelTemplateReq struct {
g.Meta `path:"/tSimCardDataStop/excel/template" method:"get" tags:"数据服务停用" summary:"下载批量数据服务停用Excel模板" x-check-permission:"cpm:iot:tSimCardDataStop:excel:template"`
}
type TSimCardDataStopExcelTemplateRes struct{}
type TSimCardDataStopExcelSubmitReq struct {
g.Meta `path:"/tSimCardDataStop/excel/submit" method:"post" tags:"数据服务停用" summary:"提交Excel批量数据服务停用" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardDataStop:excel:submit"`
model.TSimCardDataStopExcelSubmitParam
}
type TSimCardDataStopExcelSubmitRes struct {
*model.TSimCardDataStopSubmitRes
}
type TSimCardDataStopInputSubmitReq struct {
g.Meta `path:"/tSimCardDataStop/input/submit" method:"post" tags:"数据服务停用" summary:"提交批量输入数据服务停用" x-check-permission:"cpm:iot:tSimCardDataStop:input:submit"`
model.TSimCardDataStopInputSubmitParam
}
type TSimCardDataStopInputSubmitRes struct {
*model.TSimCardDataStopSubmitRes
}
+40
View File
@@ -0,0 +1,40 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardInboundExcelTemplateReq struct {
g.Meta `path:"/tSimCardInbound/excel/template" method:"get" tags:"卡入库" summary:"下载Excel批量卡入库模板" x-check-permission:"cpm:iot:tSimCardInbound:excel:template"`
}
type TSimCardInboundExcelTemplateRes struct{}
type TSimCardInboundExcelSubmitReq struct {
g.Meta `path:"/tSimCardInbound/excel/submit" method:"post" tags:"卡入库" summary:"提交Excel批量卡入库" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardInbound:excel:submit"`
model.TSimCardInboundExcelSubmitParam
}
type TSimCardInboundExcelSubmitRes struct {
*model.TSimCardInboundExcelSubmitRes
}
type TSimCardInboundRangeSubmitReq struct {
g.Meta `path:"/tSimCardInbound/range/submit" method:"post" tags:"卡入库" summary:"提交连号批量卡入库" x-check-permission:"cpm:iot:tSimCardInbound:range:submit"`
model.TSimCardInboundRangeSubmitParam
}
type TSimCardInboundRangeSubmitRes struct {
*model.TSimCardInboundRangeSubmitRes
}
type TSimCardInboundInputSubmitReq struct {
g.Meta `path:"/tSimCardInbound/input/submit" method:"post" tags:"卡入库" summary:"提交批量输入卡入库" x-check-permission:"cpm:iot:tSimCardInbound:input:submit"`
model.TSimCardInboundInputSubmitParam
}
type TSimCardInboundInputSubmitRes struct {
*model.TSimCardInboundInputSubmitRes
}
+99
View File
@@ -0,0 +1,99 @@
// Package tsimcardinfo
// @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 //tsimcardinfo
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询卡信息表列表
type TSimCardInfoListReq struct {
g.Meta `path:"/tSimCardInfo/list" method:"get" tags:"卡信息表" summary:"获取卡信息表列表" x-check-permission:"cpm:iot:tSimCardInfo:list"`
model.TSimCardInfoListParam
}
type TSimCardInfoListRes struct {
response.PageResult
Items []*model.TSimCardInfoListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出卡信息表列表
type TSimCardInfoExportReq struct {
g.Meta `path:"/tSimCardInfo/export" method:"post" tags:"卡信息表" summary:"导出卡信息表列表" x-check-permission:"cpm:iot:tSimCardInfo:export"`
model.TSimCardInfoListParam
}
type TSimCardInfoExportRes struct{}
// ViewReq 获取卡信息表指定信息
type TSimCardInfoViewReq struct {
g.Meta `path:"/tSimCardInfo/view" method:"get" tags:"卡信息表" summary:"获取卡信息表指定信息" x-check-permission:"cpm:iot:tSimCardInfo:view"`
model.TSimCardInfoViewParam
}
type TSimCardInfoViewRes struct {
*model.TSimCardInfoViewModel
}
// EditReq 修改/新增卡信息表
type TSimCardInfoEditReq struct {
g.Meta `path:"/tSimCardInfo/edit" method:"post" tags:"卡信息表" summary:"修改/新增卡信息表" x-check-permission:"cpm:iot:tSimCardInfo:edit"`
model.TSimCardInfoEditParam
}
type TSimCardInfoEditRes struct{}
// DeleteReq 删除卡信息表
type TSimCardInfoDeleteReq struct {
g.Meta `path:"/tSimCardInfo/delete" method:"post" tags:"卡信息表" summary:"删除卡信息表" x-check-permission:"cpm:iot:tSimCardInfo:delete"`
model.TSimCardInfoDeleteParam
}
type TSimCardInfoDeleteRes struct{}
// SyncSimCardFlowReq 同步SIM卡流量
type TSimCardInfoSyncSimCardFlowReq struct {
g.Meta `path:"/tSimCardInfo/syncSimCardFlow" method:"post" tags:"卡信息表" summary:"同步SIM卡流量" x-check-permission:"cpm:iot:tSimCardInfo:syncCardFlow"`
model.SyncSimCardFlowInput
}
type TSimCardInfoSyncSimCardFlowRes struct{}
// SyncSimCardStatusReq 同步SIM卡状态
type TSimCardInfoSyncSimCardStatusReq struct {
g.Meta `path:"/tSimCardInfo/syncSimCardStatus" method:"post" tags:"卡信息表" summary:"同步SIM卡状态" x-check-permission:"cpm:iot:tSimCardInfo:syncSimCardStatus"`
model.SyncSimCardStatusInput
}
type TSimCardInfoSyncSimCardStatusRes struct{}
// SyncSimCardStatusQueueReq enqueues one SIM status query without calling the
// legacy synchronous status implementation.
type TSimCardInfoSyncSimCardStatusQueueReq struct {
g.Meta `path:"/tSimCardInfo/syncSimCardStatusQueue" method:"post" tags:"卡信息表" summary:"异步同步SIM卡状态" x-check-permission:"cpm:iot:tSimCardInfo:syncSimCardStatusQueue"`
model.SyncSimCardStatusInput
}
type TSimCardInfoSyncSimCardStatusQueueRes struct{}
// QuerySimSessionReq 查询SIM卡会话
type TSimCardInfoQuerySimSessionReq struct {
g.Meta `path:"/tSimCardInfo/querySimSession" method:"get" tags:"卡信息表" summary:"查询SIM卡会话" x-check-permission:"cpm:iot:tSimCardInfo:querySimSession"`
model.QuerySimSessionInput
}
type TSimCardInfoQuerySimSessionRes struct {
*model.QuerySimSessionOutput
}
// QuerySimStatusReq 查询SIM卡状态
type TSimCardInfoQuerySimStatusReq struct {
g.Meta `path:"/tSimCardInfo/querySimStatus" method:"get" tags:"卡信息表" summary:"查询SIM卡状态" x-check-permission:"cpm:iot:tSimCardInfo:querySimStatus"`
model.QuerySimStatusInput
}
type TSimCardInfoQuerySimStatusRes struct {
*model.QuerySimStatusOutput
}
+76
View File
@@ -0,0 +1,76 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardOutboundExcelTemplateReq struct {
g.Meta `path:"/tSimCardOutbound/excel/template" method:"get" tags:"卡出库" summary:"下载Excel批量卡出库模板" x-check-permission:"cpm:iot:tSimCardOutbound:excel:template"`
}
type TSimCardOutboundExcelTemplateRes struct{}
type TSimCardOutboundExcelSubmitReq struct {
g.Meta `path:"/tSimCardOutbound/excel/submit" method:"post" tags:"卡出库" summary:"提交Excel批量卡出库校验批次" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardOutbound:excel:submit"`
model.TSimCardOutboundExcelSubmitParam
}
type TSimCardOutboundExcelSubmitRes struct {
*model.TSimCardOutboundExcelSubmitRes
}
type TSimCardOutboundRangeSubmitReq struct {
g.Meta `path:"/tSimCardOutbound/range/submit" method:"post" tags:"卡出库" summary:"提交连号卡出库校验批次" x-check-permission:"cpm:iot:tSimCardOutbound:range:submit"`
model.TSimCardOutboundRangeSubmitParam
}
type TSimCardOutboundRangeSubmitRes struct {
*model.TSimCardOutboundRangeSubmitRes
}
type TSimCardOutboundInputSubmitReq struct {
g.Meta `path:"/tSimCardOutbound/input/submit" method:"post" tags:"卡出库" summary:"提交批量输入卡出库" x-check-permission:"cpm:iot:tSimCardOutbound:input:submit"`
model.TSimCardOutboundInputSubmitParam
}
type TSimCardOutboundInputSubmitRes struct {
*model.TSimCardOutboundInputSubmitRes
}
type TSimCardOutboundInboundBatchListReq struct {
g.Meta `path:"/tSimCardOutbound/inboundBatch/list" method:"get" tags:"卡出库" summary:"查询可出库批次列表" x-check-permission:"cpm:iot:tSimCardOutbound:inboundBatch:list"`
model.TSimCardOutboundInboundBatchListParam
}
type TSimCardOutboundInboundBatchListRes struct {
*model.TSimCardOutboundInboundBatchListRes
}
type TSimCardOutboundInboundBatchCardsReq struct {
g.Meta `path:"/tSimCardOutbound/inboundBatch/cards" method:"get" tags:"卡出库" summary:"查询指定批次卡列表" x-check-permission:"cpm:iot:tSimCardOutbound:inboundBatch:cards"`
model.TSimCardOutboundInboundBatchCardsParam
}
type TSimCardOutboundInboundBatchCardsRes struct {
*model.TSimCardOutboundInboundBatchCardsRes
}
type TSimCardOutboundBatchSubmitReq struct {
g.Meta `path:"/tSimCardOutbound/batch/submit" method:"post" tags:"卡出库" summary:"提交指定批次卡出库" x-check-permission:"cpm:iot:tSimCardOutbound:batch:submit"`
model.TSimCardOutboundBatchSubmitParam
}
type TSimCardOutboundBatchSubmitRes struct {
*model.TSimCardOutboundBatchSubmitRes
}
type TSimCardOutboundCustomerBalanceReq struct {
g.Meta `path:"/tSimCardOutbound/customerBalance" method:"get" tags:"卡出库" summary:"查询出库客户账户余额" x-check-permission:""`
model.TSimCardOutboundCustomerBalanceParam
}
type TSimCardOutboundCustomerBalanceRes struct {
*model.TSimCardOutboundCustomerBalanceRes
}
+49
View File
@@ -0,0 +1,49 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardRenewExcelTemplateReq struct {
g.Meta `path:"/tSimCardRenew/excel/template" method:"get" tags:"卡续费" summary:"下载Excel卡续费模板" x-check-permission:"cpm:iot:tSimCardRenew:excel:template"`
}
type TSimCardRenewExcelTemplateRes struct{}
type TSimCardRenewExcelSubmitReq struct {
g.Meta `path:"/tSimCardRenew/excel/submit" method:"post" tags:"卡续费" summary:"提交Excel卡续费" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardRenew:excel:submit"`
model.TSimCardRenewExcelSubmitParam
}
type TSimCardRenewExcelSubmitRes struct {
*model.TSimCardRenewExcelSubmitRes
}
type TSimCardRenewInputPrepareReq struct {
g.Meta `path:"/tSimCardRenew/input/prepare" method:"post" tags:"卡续费" summary:"批量输入卡续费预处理" x-check-permission:"cpm:iot:tSimCardRenew:input:prepare"`
model.TSimCardRenewInputPrepareParam
}
type TSimCardRenewInputPrepareRes struct {
*model.TSimCardRenewBatchPrepareRes
}
type TSimCardRenewBatchConfirmReq struct {
g.Meta `path:"/tSimCardRenew/batch/confirm" method:"post" tags:"卡续费" summary:"确认批次卡续费" x-check-permission:"cpm:iot:tSimCardRenew:batch:confirm"`
model.TSimCardRenewBatchConfirmParam
}
type TSimCardRenewBatchConfirmRes struct {
*model.TSimCardRenewBatchConfirmRes
}
type TSimCardRenewPrepareResultReq struct {
g.Meta `path:"/tSimCardRenew/prepare/result" method:"get" tags:"卡续费" summary:"查询卡续费预处理结果" x-check-permission:"cpm:iot:tSimCardRenew:prepare:result"`
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
}
type TSimCardRenewPrepareResultRes struct {
*model.TSimCardRenewPrepareResultRes
}
+31
View File
@@ -0,0 +1,31 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardRestartExcelTemplateReq struct {
g.Meta `path:"/tSimCardRestart/excel/template" method:"get" tags:"自主重启" summary:"下载批量自主重启Excel模板" x-check-permission:"cpm:iot:tSimCardRestart:excel:template"`
}
type TSimCardRestartExcelTemplateRes struct{}
type TSimCardRestartExcelSubmitReq struct {
g.Meta `path:"/tSimCardRestart/excel/submit" method:"post" tags:"自主重启" summary:"提交Excel批量自主重启" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardRestart:excel:submit"`
model.TSimCardRestartExcelSubmitParam
}
type TSimCardRestartExcelSubmitRes struct {
*model.TSimCardRestartExcelSubmitRes
}
type TSimCardRestartInputSubmitReq struct {
g.Meta `path:"/tSimCardRestart/input/submit" method:"post" tags:"自主重启" summary:"提交批量输入自主重启" x-check-permission:"cpm:iot:tSimCardRestart:input:submit"`
model.TSimCardRestartInputSubmitParam
}
type TSimCardRestartInputSubmitRes struct {
*model.TSimCardRestartInputSubmitRes
}
+31
View File
@@ -0,0 +1,31 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardStartExcelTemplateReq struct {
g.Meta `path:"/tSimCardStart/excel/template" method:"get" tags:"自主复机" summary:"下载批量自主复机Excel模板" x-check-permission:"cpm:iot:tSimCardStart:excel:template"`
}
type TSimCardStartExcelTemplateRes struct{}
type TSimCardStartExcelSubmitReq struct {
g.Meta `path:"/tSimCardStart/excel/submit" method:"post" tags:"自主复机" summary:"提交Excel批量自主复机" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardStart:excel:submit"`
model.TSimCardStartExcelSubmitParam
}
type TSimCardStartExcelSubmitRes struct {
*model.TSimCardStartExcelSubmitRes
}
type TSimCardStartInputSubmitReq struct {
g.Meta `path:"/tSimCardStart/input/submit" method:"post" tags:"自主复机" summary:"提交批量输入自主复机" x-check-permission:"cpm:iot:tSimCardStart:input:submit"`
model.TSimCardStartInputSubmitParam
}
type TSimCardStartInputSubmitRes struct {
*model.TSimCardStartInputSubmitRes
}
+59
View File
@@ -0,0 +1,59 @@
// Package tsimcardstock
// @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 //tsimcardstock
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询库存卡信息表列表
type TSimCardStockListReq struct {
g.Meta `path:"/tSimCardStock/list" method:"get" tags:"库存卡信息表" summary:"获取库存卡信息表列表" x-check-permission:"cpm:iot:tSimCardStock:list"`
model.TSimCardStockListParam
}
type TSimCardStockListRes struct {
response.PageResult
Items []*model.TSimCardStockListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出库存卡信息表列表
type TSimCardStockExportReq struct {
g.Meta `path:"/tSimCardStock/export" method:"post" tags:"库存卡信息表" summary:"导出库存卡信息表列表" x-check-permission:"cpm:iot:tSimCardStock:export"`
model.TSimCardStockListParam
}
type TSimCardStockExportRes struct{}
// ViewReq 获取库存卡信息表指定信息
type TSimCardStockViewReq struct {
g.Meta `path:"/tSimCardStock/view" method:"get" tags:"库存卡信息表" summary:"获取库存卡信息表指定信息" x-check-permission:"cpm:iot:tSimCardStock:view"`
model.TSimCardStockViewParam
}
type TSimCardStockViewRes struct {
*model.TSimCardStockViewModel
}
// EditReq 修改/新增库存卡信息表
type TSimCardStockEditReq struct {
g.Meta `path:"/tSimCardStock/edit" method:"post" tags:"库存卡信息表" summary:"修改/新增库存卡信息表" x-check-permission:"cpm:iot:tSimCardStock:edit"`
model.TSimCardStockEditParam
}
type TSimCardStockEditRes struct{}
// DeleteReq 删除库存卡信息表
type TSimCardStockDeleteReq struct {
g.Meta `path:"/tSimCardStock/delete" method:"post" tags:"库存卡信息表" summary:"删除库存卡信息表" x-check-permission:"cpm:iot:tSimCardStock:delete"`
model.TSimCardStockDeleteParam
}
type TSimCardStockDeleteRes struct{}
+31
View File
@@ -0,0 +1,31 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardStopExcelTemplateReq struct {
g.Meta `path:"/tSimCardStop/excel/template" method:"get" tags:"自主停机" summary:"下载批量自主停机Excel模板" x-check-permission:"cpm:iot:tSimCardStop:excel:template"`
}
type TSimCardStopExcelTemplateRes struct{}
type TSimCardStopExcelSubmitReq struct {
g.Meta `path:"/tSimCardStop/excel/submit" method:"post" tags:"自主停机" summary:"提交Excel批量自主停机" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardStop:excel:submit"`
model.TSimCardStopExcelSubmitParam
}
type TSimCardStopExcelSubmitRes struct {
*model.TSimCardStopExcelSubmitRes
}
type TSimCardStopInputSubmitReq struct {
g.Meta `path:"/tSimCardStop/input/submit" method:"post" tags:"自主停机" summary:"提交批量输入自主停机" x-check-permission:"cpm:iot:tSimCardStop:input:submit"`
model.TSimCardStopInputSubmitParam
}
type TSimCardStopInputSubmitRes struct {
*model.TSimCardStopInputSubmitRes
}
@@ -0,0 +1,72 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardTrafficCutoffExcelTemplateReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/excel/template" method:"get" tags:"达量断网配置" summary:"下载达量断网配置Excel模板" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:excel:template"`
}
type TSimCardTrafficCutoffExcelTemplateRes struct{}
type TSimCardTrafficCutoffExcelSubmitReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/excel/submit" method:"post" tags:"达量断网配置" summary:"提交Excel批量达量断网配置" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:excel:submit"`
model.TSimCardTrafficCutoffExcelSubmitParam
}
type TSimCardTrafficCutoffExcelSubmitRes struct {
*model.TSimCardTrafficCutoffExcelSubmitRes
}
type TSimCardTrafficCutoffInputSubmitReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/input/submit" method:"post" tags:"达量断网配置" summary:"提交批量输入达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:input:submit"`
model.TSimCardTrafficCutoffInputSubmitParam
}
type TSimCardTrafficCutoffInputSubmitRes struct {
*model.TSimCardTrafficCutoffInputSubmitRes
}
type TSimCardTrafficCutoffRangeSubmitReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/range/submit" method:"post" tags:"达量断网配置" summary:"提交连号达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:range:submit"`
model.TSimCardTrafficCutoffRangeSubmitParam
}
type TSimCardTrafficCutoffRangeSubmitRes struct {
*model.TSimCardTrafficCutoffRangeSubmitRes
}
type TSimCardTrafficCutoffListReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/list" method:"get" tags:"达量断网卡信息" summary:"查询达量断网卡信息" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:list"`
model.TSimCardTrafficCutoffListParam
}
type TSimCardTrafficCutoffListRes struct {
response.PageResult
Items []*model.TSimCardInfoListModel `json:"items"`
}
type TSimCardTrafficCutoffExportReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/export" method:"post" tags:"达量断网卡信息" summary:"导出达量断网卡信息" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:export"`
model.TSimCardTrafficCutoffListParam
}
type TSimCardTrafficCutoffExportRes struct{}
type TSimCardTrafficCutoffEditReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/edit" method:"post" tags:"达量断网卡信息" summary:"修改达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:edit"`
model.TSimCardTrafficCutoffEditParam
}
type TSimCardTrafficCutoffEditRes struct{}
type TSimCardTrafficCutoffDeleteReq struct {
g.Meta `path:"/tSimCardTrafficCutoff/delete" method:"post" tags:"达量断网卡信息" summary:"删除达量断网配置" x-check-permission:"cpm:iot:tSimCardTrafficCutoff:delete"`
model.TSimCardTrafficCutoffDeleteParam
}
type TSimCardTrafficCutoffDeleteRes struct{}
+40
View File
@@ -0,0 +1,40 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimCardUnsubExcelTemplateReq struct {
g.Meta `path:"/tSimCardUnsub/excel/template" method:"get" tags:"卡退订" summary:"下载Excel卡退订模板" x-check-permission:"cpm:iot:tSimCardUnsub:excel:template"`
}
type TSimCardUnsubExcelTemplateRes struct{}
type TSimCardUnsubExcelSubmitReq struct {
g.Meta `path:"/tSimCardUnsub/excel/submit" method:"post" tags:"卡退订" summary:"提交Excel卡退订" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardUnsub:excel:submit"`
model.TSimCardUnsubExcelSubmitParam
}
type TSimCardUnsubExcelSubmitRes struct {
*model.TSimCardUnsubExcelSubmitRes
}
type TSimCardUnsubInputSubmitReq struct {
g.Meta `path:"/tSimCardUnsub/input/submit" method:"post" tags:"卡退订" summary:"提交批量输入卡退订" x-check-permission:"cpm:iot:tSimCardUnsub:input:submit"`
model.TSimCardUnsubInputSubmitParam
}
type TSimCardUnsubInputSubmitRes struct {
*model.TSimCardUnsubInputSubmitRes
}
type TSimCardUnsubRangeSubmitReq struct {
g.Meta `path:"/tSimCardUnsub/range/submit" method:"post" tags:"卡退订" summary:"提交连号卡退订" x-check-permission:"cpm:iot:tSimCardUnsub:range:submit"`
model.TSimCardUnsubRangeSubmitParam
}
type TSimCardUnsubRangeSubmitRes struct {
*model.TSimCardUnsubRangeSubmitRes
}
+74
View File
@@ -0,0 +1,74 @@
// Package tsimchannels
// @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 //tsimchannels
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询通道列表列表
type TSimChannelsListReq struct {
g.Meta `path:"/tSimChannels/list" method:"get" tags:"通道管理" summary:"获取通道管理列表" x-check-permission:"cpm:iot:tSimChannels:list"`
model.TSimChannelsListParam
}
type TSimChannelsListRes struct {
response.PageResult
Items []*model.TSimChannelsListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出通道列表列表
type TSimChannelsExportReq struct {
g.Meta `path:"/tSimChannels/export" method:"post" tags:"通道管理" summary:"导出通道管理列表" x-check-permission:"cpm:iot:tSimChannels:export"`
model.TSimChannelsListParam
}
type TSimChannelsExportRes struct{}
// ViewReq 获取通道列表指定信息
type TSimChannelsViewReq struct {
g.Meta `path:"/tSimChannels/view" method:"get" tags:"通道管理" summary:"获取通道管理指定信息" x-check-permission:"cpm:iot:tSimChannels:view"`
model.TSimChannelsViewParam
}
type TSimChannelsViewRes struct {
*model.TSimChannelsViewModel
}
// EditReq 修改/新增通道列表
type TSimChannelsEditReq struct {
g.Meta `path:"/tSimChannels/edit" method:"post" tags:"通道管理" summary:"修改/新增通道管理" x-check-permission:"cpm:iot:tSimChannels:edit"`
model.TSimChannelsEditParam
}
type TSimChannelsEditRes struct{}
// DeleteReq 删除通道列表
type TSimChannelsDeleteReq struct {
g.Meta `path:"/tSimChannels/delete" method:"post" tags:"通道管理" summary:"删除通道管理" x-check-permission:"cpm:iot:tSimChannels:delete"`
model.TSimChannelsDeleteParam
}
type TSimChannelsDeleteRes struct{}
type TSimChannelsTestReq struct {
g.Meta `path:"/tSimChannels/test" method:"post" tags:"通道管理" summary:"测试通道查询接口" x-check-permission:"cpm:iot:tSimChannels:test"`
model.TSimChannelsTestParam
}
type TSimChannelsTestRes struct {
*model.TSimChannelsTestOutput
}
type TSimChannelsRefreshCardCountReq struct {
g.Meta `path:"/tSimChannels/refresh-card-count" method:"post" tags:"通道管理" summary:"刷新通道卡数量" x-check-permission:"cpm:iot:tSimChannels:list"`
}
type TSimChannelsRefreshCardCountRes struct{}
+59
View File
@@ -0,0 +1,59 @@
// Package tsimchanneltemplate
// @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 //tsimchanneltemplate
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询通道模板列表
type TSimChannelTemplateListReq struct {
g.Meta `path:"/tSimChannelTemplate/list" method:"get" tags:"通道模板" summary:"获取通道模板列表" x-check-permission:"cpm:iot:tSimChannelTemplate:list"`
model.TSimChannelTemplateListParam
}
type TSimChannelTemplateListRes struct {
response.PageResult
Items []*model.TSimChannelTemplateListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出通道模板列表
type TSimChannelTemplateExportReq struct {
g.Meta `path:"/tSimChannelTemplate/export" method:"post" tags:"通道模板" summary:"导出通道模板列表" x-check-permission:"cpm:iot:tSimChannelTemplate:export"`
model.TSimChannelTemplateListParam
}
type TSimChannelTemplateExportRes struct{}
// ViewReq 获取通道模板指定信息
type TSimChannelTemplateViewReq struct {
g.Meta `path:"/tSimChannelTemplate/view" method:"get" tags:"通道模板" summary:"获取通道模板指定信息" x-check-permission:"cpm:iot:tSimChannelTemplate:view"`
model.TSimChannelTemplateViewParam
}
type TSimChannelTemplateViewRes struct {
*model.TSimChannelTemplateViewModel
}
// EditReq 修改/新增通道模板
type TSimChannelTemplateEditReq struct {
g.Meta `path:"/tSimChannelTemplate/edit" method:"post" tags:"通道模板" summary:"修改/新增通道模板" x-check-permission:"cpm:iot:tSimChannelTemplate:edit"`
model.TSimChannelTemplateEditParam
}
type TSimChannelTemplateEditRes struct{}
// DeleteReq 删除通道模板
type TSimChannelTemplateDeleteReq struct {
g.Meta `path:"/tSimChannelTemplate/delete" method:"post" tags:"通道模板" summary:"删除通道模板" x-check-permission:"cpm:iot:tSimChannelTemplate:delete"`
model.TSimChannelTemplateDeleteParam
}
type TSimChannelTemplateDeleteRes struct{}
+33
View File
@@ -0,0 +1,33 @@
// Package tsimdiagnose
// @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 //tsimdiagnose
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
// InfoReq 查询SIM卡诊断信息
type TSimDiagnoseInfoReq struct {
g.Meta `path:"/tSimdiagnose/info" method:"post" tags:"SIM卡诊断" summary:"查询SIM卡基本信息、会话信息、套餐信息" x-check-permission:"cpm:iot:tSimdiagnose:info"`
model.TSimDiagnoseInfoReq
}
type TSimDiagnoseInfoRes struct {
*model.TSimDiagnoseInfoOutput
}
// FlowReq 查询SIM卡使用流量
type TSimDiagnoseFlowReq struct {
g.Meta `path:"/tSimdiagnose/flow" method:"post" tags:"SIM卡诊断" summary:"查询SIM卡使用流量" x-check-permission:"cpm:iot:tSimdiagnose:flow"`
model.TSimDiagnoseFlowReq
}
type TSimDiagnoseFlowRes struct {
*model.TSimDiagnoseFlowOutput
}
+94
View File
@@ -0,0 +1,94 @@
// Package tsimflowpackageinfo
// @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 //tsimflowpackageinfo
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询SIM流量套餐管理列表
type TSimFlowPackageInfoListReq struct {
g.Meta `path:"/tSimFlowPackageInfo/list" method:"get" tags:"SIM流量套餐管理" summary:"获取SIM流量套餐管理列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
model.TSimFlowPackageInfoListParam
}
type TSimFlowPackageInfoListRes struct {
response.PageResult
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出SIM流量套餐管理列表
type TSimFlowPackageInfoExportReq struct {
g.Meta `path:"/tSimFlowPackageInfo/export" method:"post" tags:"SIM流量套餐管理" summary:"导出SIM流量套餐管理列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:export"`
model.TSimFlowPackageInfoListParam
}
type TSimFlowPackageInfoExportRes struct{}
// ViewReq 获取SIM流量套餐管理指定信息
type TSimFlowPackageInfoViewReq struct {
g.Meta `path:"/tSimFlowPackageInfo/view" method:"get" tags:"SIM流量套餐管理" summary:"获取SIM流量套餐管理指定信息" x-check-permission:"cpm:iot:tSimFlowPackageInfo:view"`
model.TSimFlowPackageInfoViewParam
}
type TSimFlowPackageInfoViewRes struct {
*model.TSimFlowPackageInfoViewModel
}
// EditReq 修改/新增SIM流量套餐管理
type TSimFlowPackageInfoEditReq struct {
g.Meta `path:"/tSimFlowPackageInfo/edit" method:"post" tags:"SIM流量套餐管理" summary:"修改/新增SIM流量套餐管理" x-check-permission:"cpm:iot:tSimFlowPackageInfo:edit"`
model.TSimFlowPackageInfoEditParam
}
type TSimFlowPackageInfoEditRes struct{}
// DeleteReq 删除SIM流量套餐管理
type TSimFlowPackageInfoDeleteReq struct {
g.Meta `path:"/tSimFlowPackageInfo/delete" method:"post" tags:"SIM流量套餐管理" summary:"删除SIM流量套餐管理" x-check-permission:"cpm:iot:tSimFlowPackageInfo:delete"`
model.TSimFlowPackageInfoDeleteParam
}
type TSimFlowPackageInfoDeleteRes struct{}
type TSimFlowPackageInfoSyncDeptPackagesReq struct {
g.Meta `path:"/tSimFlowPackageInfo/syncDeptPackages" method:"post" tags:"SIM流量套餐管理" summary:"同步当前部门套餐关联" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
}
type TSimFlowPackageInfoSyncDeptPackagesRes struct{}
// FlowPackageListReq 可配置池列表
type TSimFlowPackageInfoFlowPackageListReq struct {
g.Meta `path:"/tSimFlowPackageInfo/flowPackageList" method:"get" tags:"SIM流量套餐管理" summary:"可配置池套餐列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
model.TSimFlowPackageInfoFlowPackageListParam
}
type TSimFlowPackageInfoFlowPackageListRes struct {
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
}
// FlowPackageAddListReq 可配置池加油包列表
type TSimFlowPackageInfoFlowPackageAddListReq struct {
g.Meta `path:"/tSimFlowPackageInfo/flowPackageAddList" method:"get" tags:"SIM流量套餐管理" summary:"可配置池加油包列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
}
type TSimFlowPackageInfoFlowPackageAddListRes struct {
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
}
// GetFlowPackageOptionsReq 获取流量套餐GB+MB组合选项
type TSimFlowPackageInfoGetFlowPackageOptionsReq struct {
g.Meta `path:"/tSimFlowPackageInfo/getFlowPackageOptions" method:"get" tags:"SIM流量套餐管理" summary:"获取流量套餐GB+MB组合选项" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
model.TSimFlowPackageInfoFlowPackageOptionsParam
}
type TSimFlowPackageInfoGetFlowPackageOptionsRes struct {
Items []string `json:"items" dc:"GB+MB组合列表,格式:['1,2','1,3']"`
}
@@ -0,0 +1,16 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimFlowPackageInfoRenewablePackageOptionsReq struct {
g.Meta `path:"/tSimFlowPackageInfo/renewablePackageOptions" method:"get" tags:"SIM流量套餐管理" summary:"获取可续费套餐候选列表" x-check-permission:"cpm:iot:tSimFlowPackageInfo:list"`
model.TSimFlowPackageInfoRenewablePackageOptionsParam
}
type TSimFlowPackageInfoRenewablePackageOptionsRes struct {
Items []*model.TSimFlowPackageInfoListModel `json:"items" dc:"数据列表"`
}
+71
View File
@@ -0,0 +1,71 @@
// Package tsimflowpackageprice
// @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 //tsimflowpackageprice
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
type TSimFlowPackagePriceagentTreeReq struct {
g.Meta `path:"/tSimFlowPackagePrice/agentTree" method:"get" tags:"SIM流量套餐定价" summary:"获取渠道代理树形结构" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentTree"`
model.TSimFlowPackagePriceAgentTreeParam
}
type TSimFlowPackagePriceagentTreeRes struct {
Items []*model.SysDeptTreeModel `json:"items" dc:"代理/公司树"`
}
type TSimFlowPackagePriceAgentPackagePriceListReq struct {
g.Meta `path:"/tSimFlowPackagePrice/agentPackagePrice/list" method:"get" tags:"SIM流量套餐定价" summary:"查询指定下级代理套餐生效定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentPackagePrice:list"`
model.TSimFlowPackagePriceAgentPackagePriceListParam
}
type TSimFlowPackagePriceAgentPackagePriceListRes struct {
response.PageResult
Items []*model.TSimFlowPackagePriceAgentPackagePriceListItem `json:"items" dc:"数据列表"`
}
type TSimFlowPackagePriceAgentPackagePriceSaveReq struct {
g.Meta `path:"/tSimFlowPackagePrice/agentPackagePrice/save" method:"post" tags:"SIM流量套餐定价" summary:"保存下级代理专属套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentPackagePrice:edit"`
model.TSimFlowPackagePriceAgentPackagePriceSaveParam
}
type TSimFlowPackagePriceAgentPackagePriceSaveRes struct{}
type TSimFlowPackagePriceAgentPackagePriceInheritReq struct {
g.Meta `path:"/tSimFlowPackagePrice/agentPackagePrice/inherit" method:"post" tags:"SIM流量套餐定价" summary:"承袭下级代理上级套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentPackagePrice:edit"`
model.TSimFlowPackagePriceAgentPackagePriceInheritParam
}
type TSimFlowPackagePriceAgentPackagePriceInheritRes struct{}
type TSimFlowPackagePriceAgentDefaultPackagePriceListReq struct {
g.Meta `path:"/tSimFlowPackagePrice/agentDefaultPackagePrice/list" method:"get" tags:"SIM流量套餐定价" summary:"查询本级默认套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentDefaultPackagePrice:list"`
model.TSimFlowPackagePriceAgentDefaultPackagePriceListParam
}
type TSimFlowPackagePriceAgentDefaultPackagePriceListRes struct {
response.PageResult
Items []*model.TSimFlowPackagePriceAgentDefaultPackagePriceListItem `json:"items" dc:"数据列表"`
}
type TSimFlowPackagePriceAgentDefaultPackagePriceSaveReq struct {
g.Meta `path:"/tSimFlowPackagePrice/agentDefaultPackagePrice/save" method:"post" tags:"SIM流量套餐定价" summary:"保存本级默认套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentDefaultPackagePrice:edit"`
model.TSimFlowPackagePriceAgentDefaultPackagePriceSaveParam
}
type TSimFlowPackagePriceAgentDefaultPackagePriceSaveRes struct{}
type TSimFlowPackagePriceAgentDefaultPackagePriceInheritReq struct {
g.Meta `path:"/tSimFlowPackagePrice/agentDefaultPackagePrice/inherit" method:"post" tags:"SIM流量套餐定价" summary:"承袭上级套餐定价" x-check-permission:"cpm:iot:tSimFlowPackagePrice:agentDefaultPackagePrice:edit"`
model.TSimFlowPackagePriceAgentDefaultPackagePriceInheritParam
}
type TSimFlowPackagePriceAgentDefaultPackagePriceInheritRes struct{}
+78
View File
@@ -0,0 +1,78 @@
// Package tsimflowpool
// @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 //tsimflowpool
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询流量池表列表
type TSimFlowPoolListReq struct {
g.Meta `path:"/tSimFlowPool/list" method:"get" tags:"流量池表" summary:"获取流量池表列表" x-check-permission:"cpm:iot:tSimFlowPool:list"`
model.TSimFlowPoolListParam
}
type TSimFlowPoolListRes struct {
response.PageResult
Items []*model.TSimFlowPoolListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出流量池表列表
type TSimFlowPoolExportReq struct {
g.Meta `path:"/tSimFlowPool/export" method:"post" tags:"流量池表" summary:"导出流量池表列表" x-check-permission:"cpm:iot:tSimFlowPool:export"`
model.TSimFlowPoolListParam
}
type TSimFlowPoolExportRes struct{}
// ViewReq 获取流量池表指定信息
type TSimFlowPoolViewReq struct {
g.Meta `path:"/tSimFlowPool/view" method:"get" tags:"流量池表" summary:"获取流量池表指定信息" x-check-permission:"cpm:iot:tSimFlowPool:view"`
model.TSimFlowPoolViewParam
}
type TSimFlowPoolViewRes struct {
*model.TSimFlowPoolViewModel
}
// EditReq 修改/新增流量池表
type TSimFlowPoolEditReq struct {
g.Meta `path:"/tSimFlowPool/edit" method:"post" tags:"流量池表" summary:"修改/新增流量池表" x-check-permission:"cpm:iot:tSimFlowPool:edit"`
model.TSimFlowPoolEditParam
}
type TSimFlowPoolEditRes struct{}
// DeleteReq 删除流量池表
type TSimFlowPoolDeleteReq struct {
g.Meta `path:"/tSimFlowPool/delete" method:"post" tags:"流量池表" summary:"删除流量池表" x-check-permission:"cpm:iot:tSimFlowPool:delete"`
model.TSimFlowPoolDeleteParam
}
type TSimFlowPoolDeleteRes struct{}
// SyncPoolCardReq 流量池同步卡信息
type TSimFlowPoolSyncPoolCardReq struct {
g.Meta `path:"/tSimFlowPool/syncPoolCard" method:"post" tags:"流量池表" summary:"流量池同步卡信息" x-check-permission:"cpm:iot:tSimFlowPool:syncPoolCard"`
DeptId int64 `json:"deptId" dc:"客户编号"`
}
type TSimFlowPoolSyncPoolCardRes struct{}
// GetCardsByPackageCodesReq 根据套餐编码列表获取卡列表
type TSimFlowPoolGetCardsByPackageCodesReq struct {
g.Meta `path:"/tSimFlowPool/getCardsByPackageCodes" method:"post" tags:"流量池表" summary:"根据流量池表获取卡列表" x-check-permission:"cpm:iot:tSimFlowPool:getCardsByPackageCodes"`
model.GetCardsByPackageCodesParam
}
type TSimFlowPoolGetCardsByPackageCodesRes struct {
response.PageResult
Items []*model.TSimCardInfoListModel `json:"items" dc:"卡列表"`
}
+59
View File
@@ -0,0 +1,59 @@
// Package tsimpackagecategory
// @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 //tsimpackagecategory
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询套餐分类表列表
type TSimPackageCategoryListReq struct {
g.Meta `path:"/tSimPackageCategory/list" method:"get" tags:"套餐分类表" summary:"获取套餐分类表列表" x-check-permission:"cpm:iot:tSimPackageCategory:list"`
model.TSimPackageCategoryListParam
}
type TSimPackageCategoryListRes struct {
response.PageResult
Items []*model.TSimPackageCategoryListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出套餐分类表列表
type TSimPackageCategoryExportReq struct {
g.Meta `path:"/tSimPackageCategory/export" method:"post" tags:"套餐分类表" summary:"导出套餐分类表列表" x-check-permission:"cpm:iot:tSimPackageCategory:export"`
model.TSimPackageCategoryListParam
}
type TSimPackageCategoryExportRes struct{}
// ViewReq 获取套餐分类表指定信息
type TSimPackageCategoryViewReq struct {
g.Meta `path:"/tSimPackageCategory/view" method:"get" tags:"套餐分类表" summary:"获取套餐分类表指定信息" x-check-permission:"cpm:iot:tSimPackageCategory:view"`
model.TSimPackageCategoryViewParam
}
type TSimPackageCategoryViewRes struct {
*model.TSimPackageCategoryViewModel
}
// EditReq 修改/新增套餐分类表
type TSimPackageCategoryEditReq struct {
g.Meta `path:"/tSimPackageCategory/edit" method:"post" tags:"套餐分类表" summary:"修改/新增套餐分类表" x-check-permission:"cpm:iot:tSimPackageCategory:edit"`
model.TSimPackageCategoryEditParam
}
type TSimPackageCategoryEditRes struct{}
// DeleteReq 删除套餐分类表
type TSimPackageCategoryDeleteReq struct {
g.Meta `path:"/tSimPackageCategory/delete" method:"post" tags:"套餐分类表" summary:"删除套餐分类表" x-check-permission:"cpm:iot:tSimPackageCategory:delete"`
model.TSimPackageCategoryDeleteParam
}
type TSimPackageCategoryDeleteRes struct{}
+116
View File
@@ -0,0 +1,116 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
type TSimPoolBindPackageListReq struct {
g.Meta `path:"/tSimPoolBindPackage/list" method:"get" tags:"卡池加油包订购表" summary:"获取卡池加油包订购表列表" x-check-permission:"cpm:iot:tSimPoolBindPackage:list"`
model.TSimPoolBindPackageListParam
}
type TSimPoolBindPackageListRes struct {
response.PageResult
Items []*model.TSimPoolBindPackageListModel `json:"items" dc:"数据列表"`
}
type TSimPoolBindPackageExportReq struct {
g.Meta `path:"/tSimPoolBindPackage/export" method:"post" tags:"卡池加油包订购表" summary:"导出卡池加油包订购表列表" x-check-permission:"cpm:iot:tSimPoolBindPackage:export"`
model.TSimPoolBindPackageListParam
}
type TSimPoolBindPackageExportRes struct{}
type TSimPoolBindPackageViewReq struct {
g.Meta `path:"/tSimPoolBindPackage/view" method:"get" tags:"卡池加油包订购表" summary:"获取卡池加油包订购表详情" x-check-permission:"cpm:iot:tSimPoolBindPackage:view"`
model.TSimPoolBindPackageViewParam
}
type TSimPoolBindPackageViewRes struct {
*model.TSimPoolBindPackageViewModel
}
type TSimPoolBindPackageEditReq struct {
g.Meta `path:"/tSimPoolBindPackage/edit" method:"post" tags:"卡池加油包订购表" summary:"新增或修改卡池加油包订购表" x-check-permission:"cpm:iot:tSimPoolBindPackage:edit"`
model.TSimPoolBindPackageEditParam
}
type TSimPoolBindPackageEditRes struct{}
type TSimPoolBindPackageDeleteReq struct {
g.Meta `path:"/tSimPoolBindPackage/delete" method:"post" tags:"卡池加油包订购表" summary:"删除卡池加油包订购表" x-check-permission:"cpm:iot:tSimPoolBindPackage:delete"`
model.TSimPoolBindPackageDeleteParam
}
type TSimPoolBindPackageDeleteRes struct{}
type TSimPoolBindPackageAddPackageOptionsReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/options" method:"post" tags:"加油包" summary:"获取流量池可订购加油包" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
model.TSimPoolAddPackageOptionsParam
}
type TSimPoolBindPackageAddPackageOptionsRes struct {
*model.TSimAddPackageOptionsRes
}
type TSimPoolBindPackageAddPackagePaymentContextReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/payment-context" method:"post" tags:"加油包" summary:"获取流量池加油包支付上下文" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
}
type TSimPoolBindPackageAddPackagePaymentContextRes struct {
*model.TSimAddPackageOptionsRes
}
type TSimPoolBindPackageDownloadExcelTemplateReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/excel/template" method:"get" tags:"加油包" summary:"下载流量池加油包导入模板" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
}
type TSimPoolBindPackageDownloadExcelTemplateRes struct{}
type TSimPoolBindPackageSubmitExcelReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/excel/submit" method:"post" tags:"加油包" summary:"提交流量池加油包Excel批次" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
model.TSimPoolBindPackageAddPackageExcelSubmitParam
}
type TSimPoolBindPackageSubmitExcelRes struct {
*model.TSimPoolBindPackageAddPackageExcelSubmitRes
}
type TSimPoolBindPackageSubmitInputReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/input/submit" method:"post" tags:"加油包" summary:"提交流量池加油包手输批次" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
model.TSimPoolBindPackageAddPackageInputSubmitParam
}
type TSimPoolBindPackageSubmitInputRes struct {
*model.TSimPoolBindPackageAddPackageInputSubmitRes
}
type TSimPoolBindPackageAddPackageInputPrepareReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/input/prepare" method:"post" tags:"加油包" summary:"流量池加油包手输预处理" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
model.TSimPoolBindPackageAddPackageInputPrepareParam
}
type TSimPoolBindPackageAddPackageInputPrepareRes struct {
*model.TSimPoolBindPackageAddPackageInputPrepareRes
}
type TSimPoolBindPackageAddPackagePrepareResultReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/prepare/result" method:"get" tags:"加油包" summary:"查询流量池加油包预处理结果" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
BatchNo string `json:"batchNo" v:"required#批次号不能为空" in:"query" dc:"批次号"`
}
type TSimPoolBindPackageAddPackagePrepareResultRes struct {
*model.TSimPoolBindPackageAddPackagePrepareResultRes
}
type TSimPoolBindPackageAddPackageBatchConfirmReq struct {
g.Meta `path:"/tSimPoolBindPackage/addPackage/batch/confirm" method:"post" tags:"加油包" summary:"确认流量池加油包采购批次" x-check-permission:"cpm:iot:tSimPoolBindPackage:addPackage"`
model.TSimPoolBindPackageAddPackageBatchConfirmParam
}
type TSimPoolBindPackageAddPackageBatchConfirmRes struct {
*model.TSimPoolBindPackageAddPackageBatchConfirmRes
}
+59
View File
@@ -0,0 +1,59 @@
// Package tsimpoolwarnconfig
// @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 //tsimpoolwarnconfig
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询流量池预警配置表列表
type TSimPoolWarnConfigListReq struct {
g.Meta `path:"/tSimPoolWarnConfig/list" method:"get" tags:"流量池预警配置表" summary:"获取流量池预警配置表列表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:list"`
model.TSimPoolWarnConfigListParam
}
type TSimPoolWarnConfigListRes struct {
response.PageResult
Items []*model.TSimPoolWarnConfigListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出流量池预警配置表列表
type TSimPoolWarnConfigExportReq struct {
g.Meta `path:"/tSimPoolWarnConfig/export" method:"post" tags:"流量池预警配置表" summary:"导出流量池预警配置表列表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:export"`
model.TSimPoolWarnConfigListParam
}
type TSimPoolWarnConfigExportRes struct{}
// ViewReq 获取流量池预警配置表指定信息
type TSimPoolWarnConfigViewReq struct {
g.Meta `path:"/tSimPoolWarnConfig/view" method:"get" tags:"流量池预警配置表" summary:"获取流量池预警配置表指定信息" x-check-permission:"cpm:iot:tSimPoolWarnConfig:view"`
model.TSimPoolWarnConfigViewParam
}
type TSimPoolWarnConfigViewRes struct {
*model.TSimPoolWarnConfigViewModel
}
// EditReq 修改/新增流量池预警配置表
type TSimPoolWarnConfigEditReq struct {
g.Meta `path:"/tSimPoolWarnConfig/edit" method:"post" tags:"流量池预警配置表" summary:"修改/新增流量池预警配置表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:edit"`
model.TSimPoolWarnConfigEditParam
}
type TSimPoolWarnConfigEditRes struct{}
// DeleteReq 删除流量池预警配置表
type TSimPoolWarnConfigDeleteReq struct {
g.Meta `path:"/tSimPoolWarnConfig/delete" method:"post" tags:"流量池预警配置表" summary:"删除流量池预警配置表" x-check-permission:"cpm:iot:tSimPoolWarnConfig:delete"`
model.TSimPoolWarnConfigDeleteParam
}
type TSimPoolWarnConfigDeleteRes struct{}
+59
View File
@@ -0,0 +1,59 @@
// Package tsimupstreampackage
// @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 //tsimupstreampackage
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询上游套餐表列表
type TSimUpstreamPackageListReq struct {
g.Meta `path:"/tSimUpstreamPackage/list" method:"get" tags:"上游套餐表" summary:"获取上游套餐表列表" x-check-permission:"cpm:iot:tSimUpstreamPackage:list"`
model.TUpstreamPackageListParam
}
type TSimUpstreamPackageListRes struct {
response.PageResult
Items []*model.TUpstreamPackageListModel `json:"items" dc:"数据列表"`
}
// ExportReq 导出上游套餐表列表
type TSimUpstreamPackageExportReq struct {
g.Meta `path:"/tSimUpstreamPackage/export" method:"post" tags:"上游套餐表" summary:"导出上游套餐表列表" x-check-permission:"cpm:iot:tSimUpstreamPackage:export"`
model.TUpstreamPackageListParam
}
type TSimUpstreamPackageExportRes struct{}
// ViewReq 获取上游套餐表指定信息
type TSimUpstreamPackageViewReq struct {
g.Meta `path:"/tSimUpstreamPackage/view" method:"get" tags:"上游套餐表" summary:"获取上游套餐表指定信息" x-check-permission:"cpm:iot:tSimUpstreamPackage:view"`
model.TUpstreamPackageViewParam
}
type TSimUpstreamPackageViewRes struct {
*model.TUpstreamPackageViewModel
}
// EditReq 修改/新增上游套餐表
type TSimUpstreamPackageEditReq struct {
g.Meta `path:"/tSimUpstreamPackage/edit" method:"post" tags:"上游套餐表" summary:"修改/新增上游套餐表" x-check-permission:"cpm:iot:tSimUpstreamPackage:edit"`
model.TUpstreamPackageEditParam
}
type TSimUpstreamPackageEditRes struct{}
// DeleteReq 删除上游套餐表
type TSimUpstreamPackageDeleteReq struct {
g.Meta `path:"/tSimUpstreamPackage/delete" method:"post" tags:"上游套餐表" summary:"删除上游套餐表" x-check-permission:"cpm:iot:tSimUpstreamPackage:delete"`
model.TUpstreamPackageDeleteParam
}
type TSimUpstreamPackageDeleteRes struct{}
+48
View File
@@ -0,0 +1,48 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
type TSimWarningConfigExcelTemplateReq struct {
g.Meta `path:"/tSimWarningConfig/excel/template" method:"get" tags:"SIM卡预警配置" summary:"下载SIM卡预警配置Excel模板" x-check-permission:"cpm:iot:tSimWarningConfig:excel:template"`
ItemType int `json:"itemType" form:"itemType" dc:"对象类型:1单卡,2流量池;默认1"`
}
type TSimWarningConfigExcelTemplateRes struct{}
type TSimWarningConfigEmailCodeReq struct {
g.Meta `path:"/tSimWarningConfig/email/code" method:"post" tags:"SIM卡预警配置" summary:"发送预警邮箱验证码" x-check-permission:"cpm:iot:tSimWarningConfig:input:submit"`
model.TSimWarningConfigEmailCodeParam
}
type TSimWarningConfigEmailCodeRes struct{}
type TSimWarningConfigExcelSubmitReq struct {
g.Meta `path:"/tSimWarningConfig/excel/submit" method:"post" tags:"SIM卡预警配置" summary:"提交Excel批量SIM卡预警配置" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimWarningConfig:excel:submit"`
model.TSimWarningConfigExcelSubmitParam
}
type TSimWarningConfigExcelSubmitRes struct {
*model.TSimWarningConfigExcelSubmitRes
}
type TSimWarningConfigInputSubmitReq struct {
g.Meta `path:"/tSimWarningConfig/input/submit" method:"post" tags:"SIM卡预警配置" summary:"提交批量输入SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:input:submit"`
model.TSimWarningConfigInputSubmitParam
}
type TSimWarningConfigInputSubmitRes struct {
*model.TSimWarningConfigInputSubmitRes
}
type TSimWarningConfigRangeSubmitReq struct {
g.Meta `path:"/tSimWarningConfig/range/submit" method:"post" tags:"SIM卡预警配置" summary:"提交连号SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:range:submit"`
model.TSimWarningConfigRangeSubmitParam
}
type TSimWarningConfigRangeSubmitRes struct {
*model.TSimWarningConfigRangeSubmitRes
}