sync: 对齐小程序 v1.0.2 生产代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 15:15:12 +08:00
parent a7abd476f0
commit 5fcf74deb0
423 changed files with 15001 additions and 6382 deletions
+14 -6
View File
@@ -5,7 +5,7 @@ type AppPhoneRegisterParam struct {
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
Password string `json:"password" v:"required|length:6,32#密码不能为空|密码长度应为6到32位" dc:"密码"`
NickName string `json:"nickName" dc:"昵称"`
SmsCode string `json:"smsCode" dc:"短信验证码,当前注册未接入短信时可为空"`
SmsCode string `json:"smsCode" v:"required#短信验证码不能为空" dc:"短信验证码"`
}
type AppPhoneLoginParam struct {
@@ -18,6 +18,13 @@ type AppPhoneLoginParam struct {
WxCode string `json:"wxCode" dc:"微信小程序登录临时凭证,用于后端绑定openid"`
}
type AppPhoneSmsLoginParam struct {
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
SmsCode string `json:"smsCode" v:"required#短信验证码不能为空" dc:"短信验证码"`
SelectedUserId int64 `json:"selectedUserId" dc:"手机号多账号登录时选中的用户ID"`
}
type AppWechatLoginParam struct {
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
WxCode string `json:"wxCode" v:"required#微信登录凭证不能为空" dc:"微信小程序登录临时凭证"`
@@ -27,8 +34,7 @@ type AppWechatBindPhoneParam struct {
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
BindTicket string `json:"bindTicket" v:"required#微信绑定凭证不能为空" dc:"微信绑定临时凭证"`
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
CaptchaKey string `json:"captchaKey" dc:"图形验证码Key"`
CaptchaPoint string `json:"captchaPoint" dc:"图形验证码坐标"`
SmsCode string `json:"smsCode" v:"required#短信验证码不能为空" dc:"短信验证码"`
SelectedUserId int64 `json:"selectedUserId" dc:"手机号多账号绑定时选中的用户ID"`
}
@@ -40,9 +46,11 @@ type AppForgotPasswordParam struct {
}
type AppSendSmsParam struct {
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
Scene string `json:"scene" v:"required|in:register,forgotPassword#短信场景不能为空|短信场景不正确" dc:"短信场景"`
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
Scene string `json:"scene" v:"required|in:register,login,forgotPassword,wechatBindPhone#短信场景不能为空|短信场景不正确" dc:"短信场景"`
CaptchaKey string `json:"captchaKey" v:"required#滑块验证码key不能为空" dc:"滑块验证码key"`
CaptchaPoint string `json:"captchaPoint" v:"required#滑块验证码坐标不能为空" dc:"滑块验证码坐标"`
}
type AppSendSmsModel struct {
+10 -6
View File
@@ -26,6 +26,7 @@ type AppCardListParam struct {
CardValue string `json:"cardValue" dc:"卡号标识"`
Status string `json:"status" dc:"状态分类:all/normal/low-flow/expiring/error"`
CategoryCode string `json:"categoryCode" dc:"套餐分类编码"`
AllocateOnly bool `json:"allocateOnly"`
IncludeTotal *bool `json:"includeTotal" dc:"是否返回精确总数"`
}
@@ -99,15 +100,18 @@ type AppCardAllocateTargetListParam struct {
}
type AppCardAllocateBatchPrepareParam struct {
CardValues []string `json:"cardValues" v:"required#请选择需要划拨的卡" dc:"卡号标识列表"`
TargetDeptId int64 `json:"targetDeptId" v:"required|min:1#请选择划拨目标客户|请选择划拨目标客户" dc:"目标客户部门ID"`
ExecutionMode int `json:"executionMode" v:"in:0,1,2"`
CardValues []string `json:"cardValues" v:"required#请选择需要划拨的卡" dc:"卡号标识列表"`
TargetDeptId int64 `json:"targetDeptId" v:"required|min:1#请选择划拨目标客户|请选择划拨目标客户" dc:"目标客户部门ID"`
}
type AppCardAllocateBatchSubmitParam struct {
CardValues []string `json:"cardValues" dc:"卡号标识列表"`
BatchNo string `json:"batchNo" v:"required#预处理批次号不能为空" dc:"预处理批次号"`
TargetDeptId int64 `json:"targetDeptId" dc:"目标客户部门ID"`
Remark string `json:"remark" dc:"划拨备注"`
CardValues []string `json:"cardValues" dc:"卡号标识列表"`
BatchNo string `json:"batchNo" v:"length:0,64" dc:"预处理批次号或已受理批次号"`
RequestId string `json:"requestId" v:"length:0,96" dc:"历史请求恢复标识,新任务直接提交不传"`
ExecutionMode int `json:"executionMode" v:"in:0,1,2" dc:"执行规模"`
TargetDeptId int64 `json:"targetDeptId" dc:"目标客户部门ID"`
Remark string `json:"remark" dc:"划拨备注"`
}
type AppCardChangePrepareParam struct {
+33 -20
View File
@@ -8,32 +8,45 @@ type AppCustomerListParam struct {
Status string `json:"status" dc:"客户状态"`
}
type AppCustomerSummary struct {
Total int `json:"total" dc:"筛选结果客户总数"`
NormalCount int `json:"normalCount" dc:"筛选结果正常客户数"`
PendingProfileCount int `json:"pendingProfileCount" dc:"筛选结果实名资料待完善客户数"`
}
type AppCustomerDetailParam struct {
CustomerType string `json:"customerType" v:"required#客户类型不能为空" dc:"客户类型:enterprise/terminal"`
CustomerId int64 `json:"customerId" v:"required|min:1#客户ID不能为空|客户ID不能为空" dc:"客户ID"`
}
type AppCustomerStatusCount struct {
Status int `json:"status" dc:"状态编码"`
Count int `json:"count" dc:"卡数量"`
}
type AppCustomerModel struct {
CustomerType string `json:"customerType" dc:"客户类型"`
CustomerTypeName string `json:"customerTypeName" dc:"客户类型名称"`
CustomerId int64 `json:"customerId" dc:"客户ID"`
DeptId int64 `json:"-" dc:"企业部门ID"`
TerminalId int64 `json:"-" dc:"终端客户ID"`
ParentDeptId int64 `json:"-" dc:"上级部门ID"`
CustomerCode string `json:"customerCode,omitempty" dc:"客户编码"`
CustomerName string `json:"customerName" dc:"客户名称"`
DeptCategory string `json:"deptCategory,omitempty" dc:"部门类别"`
Phone string `json:"phone,omitempty" dc:"联系电话"`
Email string `json:"email,omitempty" dc:"邮箱"`
Status string `json:"status,omitempty" dc:"状态"`
StatusText string `json:"statusText" dc:"状态文本"`
RealNameStatus string `json:"realNameStatus" dc:"实名状态"`
Balance float64 `json:"-" dc:"账户余额"`
CardCount int `json:"cardCount" dc:"卡数量"`
NormalCardCount int `json:"normalCardCount" dc:"正常卡数量"`
Address string `json:"address,omitempty" dc:"地址"`
FullName string `json:"fullName,omitempty" dc:"单位全称"`
CreatedAt string `json:"createdAt,omitempty" dc:"创建时间"`
PackageStatusCounts []AppCustomerStatusCount `json:"packageStatusCounts,omitempty" dc:"各套餐状态的直接持卡数量"`
CustomerType string `json:"customerType" dc:"客户类型"`
CustomerTypeName string `json:"customerTypeName" dc:"客户类型名称"`
CustomerId int64 `json:"customerId" dc:"客户ID"`
DeptId int64 `json:"-" dc:"企业部门ID"`
TerminalId int64 `json:"-" dc:"终端客户ID"`
ParentDeptId int64 `json:"-" dc:"上级部门ID"`
CustomerCode string `json:"customerCode,omitempty" dc:"客户编码"`
CustomerName string `json:"customerName" dc:"客户名称"`
DeptCategory string `json:"deptCategory,omitempty" dc:"部门类别"`
Phone string `json:"phone,omitempty" dc:"联系电话"`
Email string `json:"email,omitempty" dc:"邮箱"`
Status string `json:"status,omitempty" dc:"状态"`
StatusText string `json:"statusText" dc:"状态文本"`
RealNameStatus string `json:"realNameStatus" dc:"实名状态"`
Balance float64 `json:"-" dc:"账户余额"`
CardCount int `json:"cardCount" dc:"卡数量"`
CardStatusCounts []AppCustomerStatusCount `json:"cardStatusCounts,omitempty" dc:"各运营商状态的直接持卡数量"`
NormalCardCount int `json:"normalCardCount" dc:"正常卡数量"`
Address string `json:"address,omitempty" dc:"地址"`
FullName string `json:"fullName,omitempty" dc:"单位全称"`
CreatedAt string `json:"createdAt,omitempty" dc:"创建时间"`
}
type AppCustomerDetailModel struct {
+10 -5
View File
@@ -34,6 +34,7 @@ type AppDiagnosisInfoModel struct {
// AppDiagnosisModuleItem 诊断模块状态,保持与控制台智能诊断一致。
type AppDiagnosisModuleItem struct {
Status string `json:"status" dc:"状态:success/error/cached/skipped"`
Reason string `json:"reason,omitempty" dc:"展示原因:not_subscribed/unsupported/no_data/query_error"`
Message string `json:"message,omitempty" dc:"状态说明"`
Cached bool `json:"cached,omitempty" dc:"是否使用缓存"`
UpdatedAt string `json:"updatedAt,omitempty" dc:"缓存更新时间"`
@@ -41,14 +42,18 @@ type AppDiagnosisModuleItem struct {
// AppDiagnosisFlowModel 对齐控制台诊断流量响应。
type AppDiagnosisFlowModel struct {
Times []string `json:"times" dc:"时间列表"`
Flow []float64 `json:"flow" dc:"流量列表"`
Unit string `json:"unit" dc:"流量单位"`
Granularity string `json:"granularity" dc:"粒度:day或month"`
HasData bool `json:"hasData" dc:"是否存在流量数据"`
Times []string `json:"times" dc:"时间列表"`
Flow []float64 `json:"flow" dc:"流量列表"`
FlowAvailable []bool `json:"flowAvailable" dc:"各时间点是否存在采集记录"`
Unit string `json:"unit" dc:"流量单位"`
Granularity string `json:"granularity" dc:"粒度:day或month"`
HasData bool `json:"hasData" dc:"是否存在流量数据"`
}
type AppDiagnosisInfoItem struct {
DataServiceSource string `json:"dataServiceSource" dc:"数据服务依据:apn或network_block"`
NetBlockStatus *string `json:"netBlockStatus" dc:"断网状态:0未断网 1已断网"`
NetBlockReason *string `json:"netBlockReason" dc:"断网原因"`
Iccid *string `json:"iccid" dc:"ICCID"`
Imsi *string `json:"imsi" dc:"IMSI"`
Msisdn *string `json:"msisdn" dc:"MSISDN/卡号"`
@@ -0,0 +1,53 @@
package model
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/os/gtime"
"git.5iot.com/iotlcm-public/iotlcm-app/internal/library/allocationunits"
)
type AppExecutionLogListParam struct {
Page int `json:"page" d:"1" v:"min:1"`
PageSize int `json:"pageSize" d:"20" v:"between:1,100"`
BatchNo string `json:"batchNo" v:"length:0,64"`
SourceChannel string `json:"sourceChannel" v:"in:console,mini_program,api,system,legacy"`
ExecutionMode *int `json:"executionMode" v:"in:0,1,2"`
SourceType *int `json:"sourceType" v:"in:0,1,2,3,4"`
BatchAsyncStatus *int `json:"batchAsyncStatus" v:"in:0,1,2,3,4,5"`
}
type AppExecutionLogDetailParam struct {
BatchNo string `json:"batchNo" v:"required|length:1,64#批次号不能为空|批次号过长"`
Page int `json:"page" d:"1" v:"min:1"`
PageSize int `json:"pageSize" d:"20" v:"between:1,100"`
DetailStatus *int `json:"detailStatus" v:"in:0,1,2,3"`
}
type AppExecutionLogItem struct {
allocationunits.Fields
StoredSourceDeptId int64 `json:"-" orm:"created_dept"`
StoredTargetDeptId int64 `json:"-" orm:"target_dept_id"`
UnitInfo *gjson.Json `json:"-" orm:"batch_info"`
BatchNo string `json:"batchNo"`
BatchType int `json:"batchType"`
SourceChannel string `json:"sourceChannel"`
ExecutionMode int `json:"executionMode"`
SourceType *int `json:"sourceType"`
BatchAsyncStatus int `json:"batchAsyncStatus"`
TotalCount int `json:"totalCount"`
RunResult int `json:"runResult"`
FailReason string `json:"failReason"`
CreatedAt *gtime.Time `json:"createdAt"`
StartTime *gtime.Time `json:"startTime"`
EndTime *gtime.Time `json:"endTime"`
}
type AppExecutionLogDetail struct {
allocationunits.Fields
UnitInfo *gjson.Json `json:"-" orm:"snapshot"`
RowNo int `json:"rowNo"`
ItemId string `json:"itemId"`
DetailStatus int `json:"detailStatus"`
ErrorCode string `json:"errorCode"`
ErrorReason string `json:"errorReason"`
}
@@ -0,0 +1,9 @@
package model
type AppWarningPreferenceParam struct {
Enabled *bool `json:"enabled"`
}
type AppWarningPreferenceModel struct {
Enabled bool `json:"enabled"`
WechatBound bool `json:"wechatBound"`
}
+1
View File
@@ -1,6 +1,7 @@
package model
type AppUserInfoModel struct {
IsTopLevelEnterprise bool `json:"isTopLevelEnterprise" dc:"是否顶级企业账户"`
UserId int64 `json:"-" dc:"用户ID"`
TenantId string `json:"-" dc:"租户ID"`
DeptId int64 `json:"-" dc:"部门ID"`
+7 -5
View File
@@ -93,11 +93,13 @@ type AppWarningConfigBatchFailItem struct {
}
type AppWarningConfigMetaModel struct {
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
AppNotifyEnabled int `json:"appNotifyEnabled" dc:"是否开启小程序预警通知默认值"`
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
AppNotifyEnabled int `json:"appNotifyEnabled" dc:"批量配置表单的默认提醒开关,仅用于兼容旧客户端,不代表当前账号的实际配置状态"`
ActiveConfigCount int `json:"activeConfigCount" dc:"当前账号创建的有效流量预警配置数"`
NotifyConfigCount int `json:"notifyConfigCount" dc:"当前账号创建且开启微信提醒的有效流量预警配置数"`
}
type AppWarningConfigBatchSaveModel struct {
+33 -2
View File
@@ -9,16 +9,19 @@ import (
type AppWorkOrderListParam struct {
request.PageInfo
Scope string `json:"scope" dc:"工单范围:all或空值全部相关,submitted我提交的,received我收到的"`
Keyword string `json:"keyword" dc:"工单编号、标题或内容"`
CurrentStatus int `json:"currentStatus" dc:"工单状态:0全部,1已分派,2处理中,3已解决,4已完结,5已取消"`
WoType int `json:"woType" dc:"工单类型:0卡,1模组,2设备,3订单,4余额,5提现"`
WoType *int `json:"woType" dc:"工单类型:0卡,1模组,2设备,3订单,4余额,5提现"`
}
type AppWorkOrderDetailParam struct {
WoNo string `json:"woNo" v:"required#工单编号不能为空" dc:"工单编号"`
BeforeId int64 `json:"beforeId"`
WoNo string `json:"woNo" v:"required#工单编号不能为空" dc:"工单编号"`
}
type AppWorkOrderCreateParam struct {
CreatorPhone string `json:"creatorPhone" v:"required#请输入创建人手机号" dc:"创建人手机号"`
WoType int `json:"woType" dc:"工单类型:0卡,1模组,2设备,3订单,4余额,5提现"`
RelatedId int64 `json:"relatedId" dc:"关联业务ID"`
Title string `json:"title" v:"required#请输入工单标题" dc:"工单标题"`
@@ -27,6 +30,17 @@ type AppWorkOrderCreateParam struct {
}
type AppWorkOrderModel struct {
AttachmentNames map[string]string `json:"attachmentNames,omitempty" dc:"附件URL对应的原始文件名"`
IsCreator bool `json:"isCreator"`
HasMoreCommunications bool `json:"hasMoreCommunications"`
Actions []string `json:"actions"`
Records []*AppWorkOrderProgressModel `json:"records,omitempty"`
ResolveTime *gtime.Time `json:"resolveTime,omitempty"`
CloseTime *gtime.Time `json:"closeTime,omitempty"`
SatisfactionLevel int `json:"satisfactionLevel"`
EvalContent string `json:"evalContent"`
EvalTime *gtime.Time `json:"evalTime,omitempty"`
Id int64 `json:"id" dc:"主键ID"`
WoNo string `json:"woNo" dc:"工单编号"`
WoType int `json:"woType" dc:"工单类型"`
@@ -56,3 +70,20 @@ type AppWorkOrderCommModel struct {
AttachmentUrls *gjson.Json `json:"attachmentUrls,omitempty" dc:"附件URL列表"`
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
}
// AppWorkOrderActionParam 按创建人或处理方权限执行工单操作。
type AppWorkOrderActionParam struct {
WoNo string `json:"woNo" v:"required#工单编号不能为空"`
Action string `json:"action" v:"required#请选择工单操作"`
Content string `json:"content"`
AttachmentUrls []string `json:"attachmentUrls"`
SatisfactionLevel int `json:"satisfactionLevel"`
}
type AppWorkOrderProgressModel struct {
Id int64 `json:"id"`
OperationType int `json:"operationType"`
OperationText string `json:"operationText"`
BeforeStatus int `json:"beforeStatus"`
AfterStatus int `json:"afterStatus"`
CreatedAt *gtime.Time `json:"createdAt"`
}
+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 <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+5 -3
View File
@@ -18,19 +18,19 @@ type BatchMain struct {
OrderSn any // 订单编号
BatchType any // 批次类型 枚举
BatchStatus any // 批次状态 枚举
BatchAsyncStatus any // 异步处理状态 0=已创建 1=待处理 2=处理中 3=成功 4=失败 5=部分成功
BatchAsyncStatus any // 异步处理状态
SourceType any // 来源方式 枚举
SourceBatchNo any // 来源批次编号
SourceOssId any // 源文件OSS ID
ResultOssId any // 结果文件OSS ID
IsCrossDept any // 是否跨级操作机构 0-否 1-是
IsCrossDept any // 是否跨级操作机构
TargetDeptId any // 目标机构编号
DeptId any // 机构编号
TotalCount any // 总数量
ValidCount any // 有效数量
SuccessCount any // 成功数量
FailCount any // 失败数量
RunResult any // 运行结果:0-待运行 1-运行中 2-成功 3-失败
RunResult any // 运行结果
FailReason any // 失败原因
BatchInfo *gjson.Json // 批次信息:入库/出库展示字段
Remark *gjson.Json // 备注扩展字段
@@ -42,4 +42,6 @@ type BatchMain struct {
CreatedAt *gtime.Time // 创建时间
UpdatedBy any // 更新者ID
UpdatedAt *gtime.Time // 更新时间
SourceChannel any // 发起渠道:console/mini_program/api/system/legacy
ExecutionMode any // 操作规模:0未知1单卡2批量
}
+5 -3
View File
@@ -16,19 +16,19 @@ type BatchMain struct {
OrderSn string `json:"orderSn" orm:"order_sn" description:"订单编号"`
BatchType int `json:"batchType" orm:"batch_type" description:"批次类型 枚举"`
BatchStatus int `json:"batchStatus" orm:"batch_status" description:"批次状态 枚举"`
BatchAsyncStatus int `json:"batchAsyncStatus" orm:"batch_async_status" description:"异步处理状态 0=已创建 1=待处理 2=处理中 3=成功 4=失败 5=部分成功"`
BatchAsyncStatus int `json:"batchAsyncStatus" orm:"batch_async_status" description:"异步处理状态"`
SourceType int `json:"sourceType" orm:"source_type" description:"来源方式 枚举"`
SourceBatchNo string `json:"sourceBatchNo" orm:"source_batch_no" description:"来源批次编号"`
SourceOssId int64 `json:"sourceOssId" orm:"source_oss_id" description:"源文件OSS ID"`
ResultOssId int64 `json:"resultOssId" orm:"result_oss_id" description:"结果文件OSS ID"`
IsCrossDept int `json:"isCrossDept" orm:"is_cross_dept" description:"是否跨级操作机构 0-否 1-是"`
IsCrossDept int `json:"isCrossDept" orm:"is_cross_dept" description:"是否跨级操作机构"`
TargetDeptId int64 `json:"targetDeptId" orm:"target_dept_id" description:"目标机构编号"`
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构编号"`
TotalCount int `json:"totalCount" orm:"total_count" description:"总数量"`
ValidCount int `json:"validCount" orm:"valid_count" description:"有效数量"`
SuccessCount int `json:"successCount" orm:"success_count" description:"成功数量"`
FailCount int `json:"failCount" orm:"fail_count" description:"失败数量"`
RunResult int `json:"runResult" orm:"run_result" description:"运行结果:0-待运行 1-运行中 2-成功 3-失败"`
RunResult int `json:"runResult" orm:"run_result" description:"运行结果"`
FailReason string `json:"failReason" orm:"fail_reason" description:"失败原因"`
BatchInfo *gjson.Json `json:"batchInfo" orm:"batch_info" description:"批次信息:入库/出库展示字段"`
Remark *gjson.Json `json:"remark" orm:"remark" description:"备注扩展字段"`
@@ -40,4 +40,6 @@ type BatchMain struct {
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
SourceChannel string `json:"sourceChannel" orm:"source_channel" description:"发起渠道:console/mini_program/api/system/legacy"`
ExecutionMode uint `json:"executionMode" orm:"execution_mode" description:"操作规模:0未知1单卡2批量"`
}
+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 <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package genin
+2 -2
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 <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package genin
@@ -169,4 +169,4 @@ func (t *TestTreeTreeOption) PID() int64 {
// SetChildren 设置子节点数据
func (t *TestTreeTreeOption) SetChildren(children []tree.Node) {
t.Children = children
}
}
+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 <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
+2 -2
View File
@@ -1,17 +1,17 @@
// Package genin
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@xiujie.cn>
// @Author Lxj <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
// @AutoGenerate Version
package model
import (
"context"
"slices"
"git.5iot.com/iotlcm-public/iotlcm-app/internal/consts"
"git.5iot.com/iotlcm-public/iotlcm-app/internal/library/xgorm/hook"
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/request"
"slices"
"github.com/gogf/gf/v2/errors/gerror"
"github.com/gogf/gf/v2/os/gtime"
+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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@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 <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package model
@@ -0,0 +1,7 @@
package model
// WorkOrderAutoCloseMessage triggers the shared worker's delayed close.
type WorkOrderAutoCloseMessage struct {
WoNo string `json:"woNo"`
ResolveTimeTs int64 `json:"resolveTimeTs"`
}