sync: 同步 v1.0.4 并脱敏配置与镜像

This commit is contained in:
MiFaZhan
2026-10-29 14:36:49 +08:00
parent 743e8e6e6e
commit 2206a393f7
516 changed files with 18119 additions and 2253 deletions
+77
View File
@@ -0,0 +1,77 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
// ---------------------------------------------------------------------------
// 卡基础信息查询
// ---------------------------------------------------------------------------
type SimCardBaseQueryTemplateReq struct {
g.Meta `path:"/tSimCardBaseQuery/template" method:"get" tags:"卡基础信息查询" summary:"下载卡基础信息查询Excel模板" x-check-permission:"cpm:iot:tSimCardBaseQuery:view"`
}
type SimCardBaseQueryTemplateRes struct{}
type SimCardBaseQueryColumnsReq struct {
g.Meta `path:"/tSimCardBaseQuery/columns" method:"get" tags:"卡基础信息查询" summary:"卡基础信息查询可选导出列" x-check-permission:"cpm:iot:tSimCardBaseQuery:view"`
}
type SimCardBaseQueryColumnsRes struct {
Items []model.ExportColumn `json:"items" dc:"可选导出列"`
}
// SimCardBaseQueryExportReq 提交卡基础信息查询导出。
// Excel 模式上传 file;批量输入填 batchInput;连号填 dimension/startNum/endNum。
type SimCardBaseQueryExportReq struct {
g.Meta `path:"/tSimCardBaseQuery/export" method:"post" tags:"卡基础信息查询" summary:"提交卡基础信息查询导出" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardBaseQuery:view"`
model.SimCardQueryExportParam
}
type SimCardBaseQueryExportRes struct {
*model.SimCardQuerySubmitRes
}
// ---------------------------------------------------------------------------
// 月历史用量查询
// ---------------------------------------------------------------------------
type SimCardUsageHistoryTemplateReq struct {
g.Meta `path:"/tSimCardUsageHistory/template" method:"get" tags:"月历史用量查询" summary:"下载月历史用量查询Excel模板" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
}
type SimCardUsageHistoryTemplateRes struct{}
type SimCardUsageHistoryColumnsReq struct {
g.Meta `path:"/tSimCardUsageHistory/columns" method:"get" tags:"月历史用量查询" summary:"月历史用量查询可选列与月份清单" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
}
type SimCardUsageHistoryColumnsRes struct {
Items []model.ExportColumn `json:"items" dc:"可选固定列"`
Months []string `json:"months" dc:"近12个月月份清单,顺序即导出列顺序"`
}
// SimCardUsageHistoryDeptOptionsReq 所属公司下拉,展示范围由数据权限决定。
type SimCardUsageHistoryDeptOptionsReq struct {
g.Meta `path:"/tSimCardUsageHistory/deptOptions" method:"get" tags:"月历史用量查询" summary:"月历史用量查询可选公司" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
}
type SimCardUsageHistoryDeptOptionsRes struct {
Items []*model.SimCardQueryDeptOption `json:"items" dc:"可选公司"`
// CurrentDeptId 当前登录用户所属部门,前端用于把公司下拉默认指向本企业。
CurrentDeptId int64 `json:"currentDeptId" dc:"当前用户所属部门ID"`
}
// SimCardUsageHistoryExportReq 提交月历史用量查询导出。
// 比卡基础信息查询多一个 dept 模式:按所属公司整批导出。
type SimCardUsageHistoryExportReq struct {
g.Meta `path:"/tSimCardUsageHistory/export" method:"post" tags:"月历史用量查询" summary:"提交月历史用量查询导出" mime:"multipart/form-data" x-check-permission:"cpm:iot:tSimCardUsageHistory:view"`
model.SimCardUsageHistoryExportParam
}
type SimCardUsageHistoryExportRes struct {
*model.SimCardQuerySubmitRes
}
+1 -1
View File
@@ -1,7 +1,7 @@
// Package torder
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tflowpackageconfig
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tflowpackageconfig
+1 -1
View File
@@ -1,7 +1,7 @@
// Package torder
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //torder
+2 -1
View File
@@ -18,7 +18,8 @@ type TSimCardAllocateExcelTemplateReq struct {
type TSimCardAllocateExcelTemplateRes struct{}
type TSimCardAllocateTargetListRes struct {
Items []*model.TSimCardAllocateTargetModel `json:"items" dc:"目标客户列表"`
MaxInputRows int `json:"maxInputRows" dc:"单次批量输入条数上限"`
Items []*model.TSimCardAllocateTargetModel `json:"items" dc:"目标客户列表"`
}
type TSimCardAllocateInputPrepareReq struct {
+2 -2
View File
@@ -1,7 +1,7 @@
// Package tsimcardinfo
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimcardinfo
@@ -15,7 +15,7 @@ import (
// ListReq 查询卡信息表列表
type TSimCardInfoListReq struct {
g.Meta `path:"/tSimCardInfo/list" method:"get" tags:"卡信息表" summary:"获取卡信息表列表" x-check-permission:"cpm:iot:tSimCardInfo:list"`
g.Meta `path:"/tSimCardInfo/list" method:"get,post" tags:"卡信息表" summary:"获取卡信息表列表" x-check-permission:"cpm:iot:tSimCardInfo:list"`
model.TSimCardInfoListParam
}
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimcardstock
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimcardstock
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimchannels
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimchannels
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimchanneltemplate
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimchanneltemplate
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimdiagnose
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimdiagnose
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimflowpackageinfo
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimflowpackageinfo
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimflowpackageprice
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimflowpackageprice
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimflowpool
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimflowpool
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimpackagecategory
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimpackagecategory
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimpoolwarnconfig
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimpoolwarnconfig
+1 -1
View File
@@ -1,7 +1,7 @@
// Package tsimupstreampackage
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2026 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package v1 //tsimupstreampackage
+5 -5
View File
@@ -7,21 +7,21 @@ import (
)
type TSimWarningConfigExcelTemplateReq struct {
g.Meta `path:"/tSimWarningConfig/excel/template" method:"get" tags:"SIM卡预警配置" summary:"下载SIM卡预警配置Excel模板" x-check-permission:"cpm:iot:tSimWarningConfig:excel:template"`
g.Meta `path:"/tSimWarningConfig/excel/template" method:"get" tags:"SIM卡预警配置" summary:"下载SIM卡预警配置Excel模板" x-check-permission:"cpm:iot:tSimWarningConfig:excel:template,cpm:iot:tSimPoolWarnConfig: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"`
g.Meta `path:"/tSimWarningConfig/email/code" method:"post" tags:"SIM卡预警配置" summary:"发送预警邮箱验证码" x-check-permission:"cpm:iot:tSimWarningConfig:input:submit,cpm:iot:tSimPoolWarnConfig: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"`
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,cpm:iot:tSimPoolWarnConfig:excel:submit"`
model.TSimWarningConfigExcelSubmitParam
}
@@ -30,7 +30,7 @@ type TSimWarningConfigExcelSubmitRes struct {
}
type TSimWarningConfigInputSubmitReq struct {
g.Meta `path:"/tSimWarningConfig/input/submit" method:"post" tags:"SIM卡预警配置" summary:"提交批量输入SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:input:submit"`
g.Meta `path:"/tSimWarningConfig/input/submit" method:"post" tags:"SIM卡预警配置" summary:"提交批量输入SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:input:submit,cpm:iot:tSimPoolWarnConfig:input:submit"`
model.TSimWarningConfigInputSubmitParam
}
@@ -39,7 +39,7 @@ type TSimWarningConfigInputSubmitRes struct {
}
type TSimWarningConfigRangeSubmitReq struct {
g.Meta `path:"/tSimWarningConfig/range/submit" method:"post" tags:"SIM卡预警配置" summary:"提交连号SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:range:submit"`
g.Meta `path:"/tSimWarningConfig/range/submit" method:"post" tags:"SIM卡预警配置" summary:"提交连号SIM卡预警配置" x-check-permission:"cpm:iot:tSimWarningConfig:range:submit,cpm:iot:tSimPoolWarnConfig:range:submit"`
model.TSimWarningConfigRangeSubmitParam
}