sync: 同步 v1.0.4 开源代码并脱敏
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package model
|
||||
|
||||
type AgentRoleSyncMessage struct {
|
||||
TemplateRole bool `json:"templateRole,omitempty"`
|
||||
Superseded bool `json:"superseded,omitempty"`
|
||||
TaskId string `json:"taskId,omitempty"`
|
||||
TotalCount int `json:"totalCount,omitempty"`
|
||||
SuccessCount int `json:"successCount,omitempty"`
|
||||
FailedCount int `json:"failedCount,omitempty"`
|
||||
TenantId string `json:"tenantId"`
|
||||
SourceRoleId int64 `json:"sourceRoleId"`
|
||||
SourceDeptId int64 `json:"sourceDeptId"`
|
||||
ActorId int64 `json:"actorId"`
|
||||
RetryCount int `json:"retryCount"`
|
||||
ChildDeptIds []int64 `json:"childDeptIds,omitempty"`
|
||||
}
|
||||
|
||||
type AgentRoleSyncDeadLetterMessage struct {
|
||||
Message AgentRoleSyncMessage `json:"message"`
|
||||
Error string `json:"error"`
|
||||
FailedAt string `json:"failedAt"`
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package model
|
||||
|
||||
// DataReviewQueryMessage 是"手动同步上游结果"命令。
|
||||
// 只按既有 operationId/jobId 查询一次,不重发办理、不清零自动补查计数。
|
||||
type DataReviewQueryMessage struct {
|
||||
BatchNo string `json:"batchNo"`
|
||||
RequestedBy string `json:"requestedBy,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysConfig is the golang structure of table sys_config for DAO operations like Where/Data.
|
||||
type SysConfig struct {
|
||||
g.Meta `orm:"table:sys_config, do:true"`
|
||||
ConfigId any //
|
||||
TenantId any //
|
||||
ConfigName any //
|
||||
ConfigKey any //
|
||||
ConfigValue any //
|
||||
ConfigType any //
|
||||
CreatedDept any //
|
||||
CreatedBy any //
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedBy any //
|
||||
UpdatedAt *gtime.Time //
|
||||
Remark any //
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysPermissionRevision is the golang structure of table sys_permission_revision for DAO operations like Where/Data.
|
||||
type SysPermissionRevision struct {
|
||||
g.Meta `orm:"table:sys_permission_revision, do:true"`
|
||||
Id any //
|
||||
Revision any //
|
||||
UpdatedAt *gtime.Time //
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysRole is the golang structure of table sys_role for DAO operations like Where/Data.
|
||||
type SysRole struct {
|
||||
g.Meta `orm:"table:sys_role, do:true"`
|
||||
RoleId any //
|
||||
TenantId any //
|
||||
DeptId any //
|
||||
RoleName any //
|
||||
RoleKey any //
|
||||
RoleSort any //
|
||||
DataScope any //
|
||||
MenuCheckStrictly any //
|
||||
DeptCheckStrictly any //
|
||||
Status any //
|
||||
IsPass any //
|
||||
SourceRoleId any //
|
||||
SourceDeptId any //
|
||||
CreatedDept any //
|
||||
CreatedBy any //
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedBy any //
|
||||
UpdatedAt *gtime.Time //
|
||||
DeletedBy any //
|
||||
DeletedAt *gtime.Time //
|
||||
Remark any //
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysRoleDept is the golang structure of table sys_role_dept for DAO operations like Where/Data.
|
||||
type SysRoleDept struct {
|
||||
g.Meta `orm:"table:sys_role_dept, do:true"`
|
||||
TenantId any //
|
||||
RoleId any //
|
||||
DeptId any //
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysRoleMenu is the golang structure of table sys_role_menu for DAO operations like Where/Data.
|
||||
type SysRoleMenu struct {
|
||||
g.Meta `orm:"table:sys_role_menu, do:true"`
|
||||
TenantId any //
|
||||
RoleId any //
|
||||
MenuId any //
|
||||
DataScope any //
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysRoleSyncTask is the golang structure of table sys_role_sync_task for DAO operations like Where/Data.
|
||||
type SysRoleSyncTask struct {
|
||||
g.Meta `orm:"table:sys_role_sync_task, do:true"`
|
||||
TaskId any //
|
||||
TenantId any //
|
||||
SourceRoleId any //
|
||||
SourceDeptId any //
|
||||
ActorId any //
|
||||
Status any //
|
||||
Attempts any //
|
||||
NextAttemptAt any //
|
||||
LeaseUntil any //
|
||||
LeaseToken any //
|
||||
Payload any //
|
||||
LastError any //
|
||||
TotalCount any //
|
||||
SuccessCount any //
|
||||
FailedCount any //
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedAt *gtime.Time //
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysUserRole is the golang structure of table sys_user_role for DAO operations like Where/Data.
|
||||
type SysUserRole struct {
|
||||
g.Meta `orm:"table:sys_user_role, do:true"`
|
||||
TenantId any //
|
||||
UserId any //
|
||||
RoleId any //
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysConfig is the golang structure for table sys_config.
|
||||
type SysConfig struct {
|
||||
ConfigId int64 `json:"configId" orm:"config_id" ` //
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" ` //
|
||||
ConfigName string `json:"configName" orm:"config_name" ` //
|
||||
ConfigKey string `json:"configKey" orm:"config_key" ` //
|
||||
ConfigValue string `json:"configValue" orm:"config_value" ` //
|
||||
ConfigType string `json:"configType" orm:"config_type" ` //
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" ` //
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" ` //
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" ` //
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
|
||||
Remark string `json:"remark" orm:"remark" ` //
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysPermissionRevision is the golang structure for table sys_permission_revision.
|
||||
type SysPermissionRevision struct {
|
||||
Id int `json:"id" orm:"id" ` //
|
||||
Revision int64 `json:"revision" orm:"revision" ` //
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysRole is the golang structure for table sys_role.
|
||||
type SysRole struct {
|
||||
RoleId int64 `json:"roleId" orm:"role_id" ` //
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" ` //
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" ` //
|
||||
RoleName string `json:"roleName" orm:"role_name" ` //
|
||||
RoleKey string `json:"roleKey" orm:"role_key" ` //
|
||||
RoleSort int64 `json:"roleSort" orm:"role_sort" ` //
|
||||
DataScope string `json:"dataScope" orm:"data_scope" ` //
|
||||
MenuCheckStrictly int64 `json:"menuCheckStrictly" orm:"menu_check_strictly" ` //
|
||||
DeptCheckStrictly int64 `json:"deptCheckStrictly" orm:"dept_check_strictly" ` //
|
||||
Status string `json:"status" orm:"status" ` //
|
||||
IsPass int64 `json:"isPass" orm:"is_pass" ` //
|
||||
SourceRoleId int64 `json:"sourceRoleId" orm:"source_role_id" ` //
|
||||
SourceDeptId int64 `json:"sourceDeptId" orm:"source_dept_id" ` //
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" ` //
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" ` //
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" ` //
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" ` //
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" ` //
|
||||
Remark string `json:"remark" orm:"remark" ` //
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// SysRoleDept is the golang structure for table sys_role_dept.
|
||||
type SysRoleDept struct {
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" ` //
|
||||
RoleId int64 `json:"roleId" orm:"role_id" ` //
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" ` //
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// SysRoleMenu is the golang structure for table sys_role_menu.
|
||||
type SysRoleMenu struct {
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" ` //
|
||||
RoleId int64 `json:"roleId" orm:"role_id" ` //
|
||||
MenuId int64 `json:"menuId" orm:"menu_id" ` //
|
||||
DataScope string `json:"dataScope" orm:"data_scope" ` //
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysRoleSyncTask is the golang structure for table sys_role_sync_task.
|
||||
type SysRoleSyncTask struct {
|
||||
TaskId string `json:"taskId" orm:"task_id" ` //
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" ` //
|
||||
SourceRoleId int64 `json:"sourceRoleId" orm:"source_role_id" ` //
|
||||
SourceDeptId int64 `json:"sourceDeptId" orm:"source_dept_id" ` //
|
||||
ActorId int64 `json:"actorId" orm:"actor_id" ` //
|
||||
Status string `json:"status" orm:"status" ` //
|
||||
Attempts int `json:"attempts" orm:"attempts" ` //
|
||||
NextAttemptAt int64 `json:"nextAttemptAt" orm:"next_attempt_at" ` //
|
||||
LeaseUntil int64 `json:"leaseUntil" orm:"lease_until" ` //
|
||||
LeaseToken string `json:"leaseToken" orm:"lease_token" ` //
|
||||
Payload string `json:"payload" orm:"payload" ` //
|
||||
LastError string `json:"lastError" orm:"last_error" ` //
|
||||
TotalCount int `json:"totalCount" orm:"total_count" ` //
|
||||
SuccessCount int `json:"successCount" orm:"success_count" ` //
|
||||
FailedCount int `json:"failedCount" orm:"failed_count" ` //
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// SysUserRole is the golang structure for table sys_user_role.
|
||||
type SysUserRole struct {
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" ` //
|
||||
UserId int64 `json:"userId" orm:"user_id" ` //
|
||||
RoleId int64 `json:"roleId" orm:"role_id" ` //
|
||||
}
|
||||
@@ -101,10 +101,16 @@ type SimCardStatusChangeOutputItem struct {
|
||||
type SimCardApnChangeInput = SimBaseReq[SimCardApnChangeInputItem]
|
||||
|
||||
type SimCardApnChangeInputItem struct {
|
||||
OperType string `json:"operType"`
|
||||
ApnName string `json:"apnName"`
|
||||
OperType string `json:"operType"`
|
||||
ApnName string `json:"apnName"`
|
||||
SubmitOnly bool `json:"submitOnly,omitempty"`
|
||||
QueryJobID string `json:"queryJobId,omitempty"`
|
||||
OperationID string `json:"operationId,omitempty"`
|
||||
RecoverOnly bool `json:"recoverOnly,omitempty"`
|
||||
}
|
||||
|
||||
type SimCardApnChangeOutputItem struct {
|
||||
OrderNum string `json:"orderNum"`
|
||||
OrderNum string `json:"orderNum"`
|
||||
Pending bool `json:"pending,omitempty"`
|
||||
Uncertain bool `json:"uncertain,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user