chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)

This commit is contained in:
MiFaZhan
2026-11-02 13:27:59 +08:00
1250 changed files with 154111 additions and 0 deletions
@@ -0,0 +1,54 @@
package model
type TSimWarningConfigApplyOptions struct {
ItemType int `json:"itemType" dc:"对象类型:1单卡,2流量池;默认1"`
WarnUnit int `json:"warnUnit" v:"required#预警类型不能为空" dc:"预警单位:1MB,2百分比,3天数,4月数"`
FirstWarn float64 `json:"firstWarn" dc:"第一档预警阈值;Excel和完整批量输入由每行填写"`
SecondWarn float64 `json:"secondWarn" dc:"第二档预警阈值"`
ThirdWarn float64 `json:"thirdWarn" dc:"第三档预警阈值"`
WarnMethods string `json:"warnMethods" dc:"预警方式:默认3平台消息;多选逗号分隔"`
WarnPhones string `json:"warnPhones" dc:"预警手机号,多个逗号分隔"`
WarnEmails string `json:"warnEmails" dc:"预警邮箱,多个逗号分隔"`
WarnEmailCode string `json:"warnEmailCode" dc:"预警邮箱验证码;兼容旧参数,当前配置不校验"`
AutoAction int `json:"autoAction" dc:"第三次是否断网:0否,3是"`
IsEnabled *int `json:"isEnabled" dc:"是否启用:1启用,0停用"`
Remark string `json:"remark" dc:"备注"`
}
type TSimWarningConfigEmailCodeParam struct {
Email string `json:"email" v:"required#邮箱不能为空" dc:"预警邮箱"`
CaptchaID string `json:"captchaId" v:"required#图片验证码不能为空" dc:"图片验证码ID"`
CaptchaValue string `json:"captchaValue" v:"required#图片验证码不能为空" dc:"图片验证码值"`
}
type TSimWarningConfigExcelSubmitParam struct {
TSimWarningConfigApplyOptions
}
type TSimWarningConfigInputSubmitParam struct {
Input string `json:"input" v:"required#批量输入内容不能为空" dc:"预警配置批量输入;完整格式使用|分隔,每行包含对象编号、阈值、提醒方式及联系方式"`
TSimWarningConfigApplyOptions
}
type TSimWarningConfigRangeSubmitParam struct {
StartIccid string `json:"startIccid" v:"required#起始ICCID不能为空" dc:"起始ICCID卡号"`
EndIccid string `json:"endIccid" v:"required#结束ICCID不能为空" dc:"结束ICCID卡号"`
StartMsisdn string `json:"startMsisdn" v:"required#起始MSISDN不能为空" dc:"起始MSISDN号码"`
EndMsisdn string `json:"endMsisdn" v:"required#结束MSISDN不能为空" dc:"结束MSISDN号码"`
StartImsi string `json:"startImsi" v:"required#起始IMSI不能为空" dc:"起始IMSI号码"`
EndImsi string `json:"endImsi" v:"required#结束IMSI不能为空" dc:"结束IMSI号码"`
TSimWarningConfigApplyOptions
}
type TSimWarningConfigSubmitRes struct {
BatchNo string `json:"batchNo" dc:"批次号"`
BatchType int `json:"batchType" dc:"批次类型"`
BatchAsyncStatus int `json:"batchAsyncStatus" dc:"批次异步状态"`
Total int `json:"total" dc:"解析总行数"`
ValidCount int `json:"validCount" dc:"校验通过行数"`
FailCount int `json:"failCount" dc:"失败行数"`
}
type TSimWarningConfigExcelSubmitRes = TSimWarningConfigSubmitRes
type TSimWarningConfigInputSubmitRes = TSimWarningConfigSubmitRes
type TSimWarningConfigRangeSubmitRes = TSimWarningConfigSubmitRes