sync: 同步 v1.0.4 开源代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:49:18 +08:00
parent f42c9b29f6
commit a8874ca6f2
101 changed files with 392 additions and 214 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package genin
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+6 -6
View File
@@ -101,7 +101,7 @@ type QuerySimBatchCard struct {
// QuerySimStatusBatchParam 批量卡状态查询入参
type QuerySimStatusBatchParam struct {
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
Cards []QuerySimBatchCard `json:"cards" v:"required#查询卡不能为空" dc:"查询卡列表"`
}
@@ -109,7 +109,7 @@ type QuerySimStatusBatchParam struct {
type QuerySimStatusBatchItem struct {
Matched bool `json:"matched"`
Iccid string `json:"iccid,omitempty"`
LifeCycle int `json:"lifeCycle"` // 卡状态编码(平台内部枚举)
LifeCycle int `json:"lifeCycle"` // 卡状态编码(平台内部枚举)
LifeCycleName string `json:"lifeCycleName,omitempty"`
ErrorCode string `json:"errorCode,omitempty"`
ErrorMessage string `json:"errorMessage,omitempty"`
@@ -125,7 +125,7 @@ type QuerySimStatusBatchOutput struct {
// QuerySimUsageBatchParam 批量流量查询入参
type QuerySimUsageBatchParam struct {
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
Cards []QuerySimBatchCard `json:"cards" v:"required#查询卡不能为空" dc:"查询卡列表"`
}
@@ -133,8 +133,8 @@ type QuerySimUsageBatchParam struct {
type QuerySimUsageBatchItem struct {
Matched bool `json:"matched"`
Iccid string `json:"iccid,omitempty"`
UseUnit string `json:"useUnit"` // 流量单位,固定为 MB
UseAmount float64 `json:"useAmount"` // 当前周期已用流量,单位 MB
UseUnit string `json:"useUnit"` // 流量单位,固定为 MB
UseAmount float64 `json:"useAmount"` // 当前周期已用流量,单位 MB
ErrorCode string `json:"errorCode,omitempty"`
ErrorMessage string `json:"errorMessage,omitempty"`
}
@@ -151,7 +151,7 @@ type QuerySimUsageBatchOutput struct {
// QuerySimImeiBatchParam 批量 IMEI 查询入参(与 sim-status-batch / sim-usage-batch 同构)
type QuerySimImeiBatchParam struct {
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
Cards []QuerySimBatchCard `json:"cards" v:"required#查询卡不能为空" dc:"查询卡列表"`
}
+1 -1
View File
@@ -1,7 +1,7 @@
// package request
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package request
+1 -1
View File
@@ -1,7 +1,7 @@
// package response
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package response
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+42 -42
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
@@ -48,41 +48,41 @@ type SysRoleViewParam struct {
}
type SysRoleViewModel struct {
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门组织id"`
RoleName string `json:"roleName" orm:"role_name" description:"角色名称"`
RoleKey string `json:"roleKey" orm:"role_key" description:"角色权限字符串"`
RoleSort int `json:"roleSort" orm:"role_sort" description:"显示顺序"`
DataScope string `json:"dataScope" orm:"data_scope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:本部门及以下或本人数据权限 7:本部门及下一级数据权限)"`
MenuCheckStrictly int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
DeptCheckStrictly int `json:"deptCheckStrictly" orm:"dept_check_strictly" description:"部门树选择项是否关联显示"`
Status string `json:"status" orm:"status" description:"角色状态(0正常 1停用)"`
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
Remark string `json:"remark" orm:"remark" description:"备注"`
MenuIds []int64 `json:"menuIds" orm:"menu_ids" description:"角色菜单ID列表"`
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门组织id"`
RoleName string `json:"roleName" orm:"role_name" description:"角色名称"`
RoleKey string `json:"roleKey" orm:"role_key" description:"角色权限字符串"`
RoleSort int `json:"roleSort" orm:"role_sort" description:"显示顺序"`
DataScope string `json:"dataScope" orm:"data_scope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:本部门及以下或本人数据权限 7:本部门及下一级数据权限)"`
MenuCheckStrictly int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
DeptCheckStrictly int `json:"deptCheckStrictly" orm:"dept_check_strictly" description:"部门树选择项是否关联显示"`
Status string `json:"status" orm:"status" description:"角色状态(0正常 1停用)"`
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
Remark string `json:"remark" orm:"remark" description:"备注"`
MenuIds []int64 `json:"menuIds" orm:"menu_ids" description:"角色菜单ID列表"`
RoleMenuDataScopes map[int64]string `json:"roleMenuDataScopes" description:"角色菜单数据范围"`
DeptIds []int64 `json:"deptIds" orm:"dept_ids" description:"角色部门ID列表"`
DeptIds []int64 `json:"deptIds" orm:"dept_ids" description:"角色部门ID列表"`
}
type SysRoleAddParam struct {
RoleName string `json:"roleName" orm:"role_name" description:"角色名称"`
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
RoleKey string `json:"roleKey" orm:"role_key" description:"角色权限字符串"`
RoleSort int `json:"roleSort" orm:"role_sort" description:"显示顺序"`
DataScope string `json:"dataScope" orm:"data_scope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:本部门及以下或本人数据权限 7:本部门及下一级数据权限)"`
MenuCheckStrictly int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
Status string `json:"status" orm:"status" description:"角色状态(0正常 1停用)"`
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
Remark string `json:"remark" orm:"remark" description:"备注"`
MenuIds []int64 `json:"menuIds" orm:"menu_ids" description:"菜单ID"`
RoleName string `json:"roleName" orm:"role_name" description:"角色名称"`
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
RoleKey string `json:"roleKey" orm:"role_key" description:"角色权限字符串"`
RoleSort int `json:"roleSort" orm:"role_sort" description:"显示顺序"`
DataScope string `json:"dataScope" orm:"data_scope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:本部门及以下或本人数据权限 7:本部门及下一级数据权限)"`
MenuCheckStrictly int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
Status string `json:"status" orm:"status" description:"角色状态(0正常 1停用)"`
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
Remark string `json:"remark" orm:"remark" description:"备注"`
MenuIds []int64 `json:"menuIds" orm:"menu_ids" description:"菜单ID"`
RoleMenuDataScopes map[int64]string `json:"roleMenuDataScopes" description:"角色菜单数据范围"`
DeptId *int64 `json:"deptId" orm:"dept_id" description:"部门组织id"`
DeptId *int64 `json:"deptId" orm:"dept_id" description:"部门组织id"`
}
type SysRoleAddModel struct {
@@ -90,18 +90,18 @@ type SysRoleAddModel struct {
}
type SysRoleEditParam struct {
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
RoleName *string `json:"roleName" orm:"role_name" description:"角色名称"`
RoleKey *string `json:"roleKey" orm:"role_key" description:"角色权限字符串"`
RoleSort *int `json:"roleSort" orm:"role_sort" description:"显示顺序"`
MenuCheckStrictly *int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
Status *string `json:"status" orm:"status" description:"角色状态(0正常 1停用)"`
UpdatedBy *int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
Remark *string `json:"remark" orm:"remark" description:"备注"`
MenuIds []int64 `json:"menuIds" orm:"menu_ids" description:"菜单ID"`
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
RoleName *string `json:"roleName" orm:"role_name" description:"角色名称"`
RoleKey *string `json:"roleKey" orm:"role_key" description:"角色权限字符串"`
RoleSort *int `json:"roleSort" orm:"role_sort" description:"显示顺序"`
MenuCheckStrictly *int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
Status *string `json:"status" orm:"status" description:"角色状态(0正常 1停用)"`
UpdatedBy *int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
Remark *string `json:"remark" orm:"remark" description:"备注"`
MenuIds []int64 `json:"menuIds" orm:"menu_ids" description:"菜单ID"`
RoleMenuDataScopes map[int64]string `json:"roleMenuDataScopes" description:"角色菜单数据范围"`
DeptId *int64 `json:"deptId" orm:"dept_id" description:"部门组织id"`
DeptId *int64 `json:"deptId" orm:"dept_id" description:"部门组织id"`
}
type SysRoleEditModel struct {
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// package model
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package model
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package iotin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package iotin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package iot
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+6 -6
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
@@ -43,7 +43,7 @@ type TSimCardInfoUpdateFields struct {
DataServiceStatus int `json:"dataServiceStatus" dc:"数据服务状态:1启用、0禁用"`
PackageTotalFlowMb float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
UsedFlowMb float64 `json:"usedFlowMb" dc:"已用流量MB"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" dc:"达量断网阈值"`
SmsServiceStatus int `json:"smsServiceStatus" dc:"短信服务状态:1启用、0禁用"`
PackageTotalSms int `json:"packageTotalSms" dc:"套餐短信总条数"`
@@ -98,7 +98,7 @@ type TSimCardInfoInsertFields struct {
DataServiceStatus int `json:"dataServiceStatus" dc:"数据服务状态:1启用、0禁用"`
PackageTotalFlowMb float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
UsedFlowMb float64 `json:"usedFlowMb" dc:"已用流量MB"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" dc:"达量断网阈值"`
SmsServiceStatus int `json:"smsServiceStatus" dc:"短信服务状态:1启用、0禁用"`
PackageTotalSms int `json:"packageTotalSms" dc:"套餐短信总条数"`
@@ -156,7 +156,7 @@ type TSimCardInfoEditParam struct {
DataServiceStatus *int `json:"dataServiceStatus" dc:"数据服务状态:1启用、0禁用"`
PackageTotalFlowMb *float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
UsedFlowMb *float64 `json:"usedFlowMb" dc:"已用流量MB"`
TrafficCutoffStatus *int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffStatus *int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffThreshold *float64 `json:"trafficCutoffThreshold" dc:"达量断网阈值"`
SmsServiceStatus *int `json:"smsServiceStatus" dc:"短信服务状态:1启用、0禁用"`
PackageTotalSms *int `json:"packageTotalSms" dc:"套餐短信总条数"`
@@ -291,7 +291,7 @@ type TSimCardInfoListModel struct {
DataServiceStatus int `json:"dataServiceStatus" dc:"数据服务状态:1启用、0禁用"`
PackageTotalFlowMb float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
UsedFlowMb float64 `json:"usedFlowMb" dc:"已用流量MB"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" dc:"达量断网阈值"`
SmsServiceStatus int `json:"smsServiceStatus" dc:"短信服务状态:1启用、0禁用"`
PackageTotalSms int `json:"packageTotalSms" dc:"套餐短信总条数"`
@@ -354,7 +354,7 @@ type TSimCardInfoExportModel struct {
DataServiceStatus int `json:"dataServiceStatus" dc:"数据服务状态:1启用、0禁用"`
PackageTotalFlowMb float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
UsedFlowMb float64 `json:"usedFlowMb" dc:"已用流量MB"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" dc:"达量断网阈值"`
SmsServiceStatus int `json:"smsServiceStatus" dc:"短信服务状态:1启用、0禁用"`
PackageTotalSms int `json:"packageTotalSms" dc:"套餐短信总条数"`
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model
+1 -1
View File
@@ -1,7 +1,7 @@
// Package genin
// @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 model