This commit is contained in:
孟帅
2025-10-25 00:35:30 +08:00
parent 5ebc33f28b
commit 7313d22cdb
168 changed files with 2349 additions and 1455 deletions

View File

@@ -13,40 +13,40 @@ import (
// AddonHgexampleTable is the golang structure of table hg_addon_hgexample_table for DAO operations like Where/Data.
type AddonHgexampleTable struct {
g.Meta `orm:"table:hg_addon_hgexample_table, do:true"`
Id interface{} // ID
Pid interface{} // 上级ID
Level interface{} // 树等级
Tree interface{} // 关系树
CategoryId interface{} // 分类ID
Id any // ID
Pid any // 上级ID
Level any // 树等级
Tree any // 关系树
CategoryId any // 分类ID
Flag *gjson.Json // 标签
Title interface{} // 标题
Description interface{} // 描述
Content interface{} // 内容
Image interface{} // 单图
Title any // 标题
Description any // 描述
Content any // 内容
Image any // 单图
Images *gjson.Json // 多图
Attachfile interface{} // 附件
Attachfile any // 附件
Attachfiles *gjson.Json // 多附件
Map *gjson.Json // 动态键值对
Star interface{} // 推荐星
Price interface{} // 价格
Views interface{} // 浏览次数
Star any // 推荐星
Price any // 价格
Views any // 浏览次数
ActivityAt *gtime.Time // 活动时间
StartAt *gtime.Time // 开启时间
EndAt *gtime.Time // 结束时间
Switch interface{} // 开关
Sort interface{} // 排序
Avatar interface{} // 头像
Sex interface{} // 性别
Qq interface{} // qq
Email interface{} // 邮箱
Mobile interface{} // 手机号码
Switch any // 开关
Sort any // 排序
Avatar any // 头像
Sex any // 性别
Qq any // qq
Email any // 邮箱
Mobile any // 手机号码
Hobby *gjson.Json // 爱好
Channel interface{} // 渠道
CityId interface{} // 所在城市
Remark interface{} // 备注
Status interface{} // 状态
CreatedBy interface{} // 创建者
UpdatedBy interface{} // 更新者
Channel any // 渠道
CityId any // 所在城市
Remark any // 备注
Status any // 状态
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间

View File

@@ -12,15 +12,15 @@ import (
// AddonHgexampleTenantOrder is the golang structure of table hg_addon_hgexample_tenant_order for DAO operations like Where/Data.
type AddonHgexampleTenantOrder struct {
g.Meta `orm:"table:hg_addon_hgexample_tenant_order, do:true"`
Id interface{} // 主键
TenantId interface{} // 租户ID
MerchantId interface{} // 商户ID
UserId interface{} // 用户ID
ProductName interface{} // 购买产品
OrderSn interface{} // 订单号
Money interface{} // 充值金额
Remark interface{} // 备注
Status interface{} // 订单状态
Id any // 主键
TenantId any // 租户ID
MerchantId any // 商户ID
UserId any // 用户ID
ProductName any // 购买产品
OrderSn any // 订单号
Money any // 充值金额
Remark any // 备注
Status any // 订单状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,14 +12,14 @@ import (
// AdminCash is the golang structure of table hg_admin_cash for DAO operations like Where/Data.
type AdminCash struct {
g.Meta `orm:"table:hg_admin_cash, do:true"`
Id interface{} // ID
MemberId interface{} // 管理员ID
Money interface{} // 提现金额
Fee interface{} // 手续费
LastMoney interface{} // 最终到账金额
Ip interface{} // 申请人IP
Status interface{} // 状态码
Msg interface{} // 处理结果
Id any // ID
MemberId any // 管理员ID
Money any // 提现金额
Fee any // 手续费
LastMoney any // 最终到账金额
Ip any // 申请人IP
Status any // 状态码
Msg any // 处理结果
HandleAt *gtime.Time // 处理时间
CreatedAt *gtime.Time // 申请时间
}

View File

@@ -12,19 +12,19 @@ import (
// AdminCreditsLog is the golang structure of table hg_admin_credits_log for DAO operations like Where/Data.
type AdminCreditsLog struct {
g.Meta `orm:"table:hg_admin_credits_log, do:true"`
Id interface{} // 变动ID
MemberId interface{} // 管理员ID
AppId interface{} // 应用id
AddonsName interface{} // 插件名称
CreditType interface{} // 变动类型
CreditGroup interface{} // 变动组别
BeforeNum interface{} // 变动前
Num interface{} // 变动数据
AfterNum interface{} // 变动后
Remark interface{} // 备注
Ip interface{} // 操作人IP
MapId interface{} // 关联ID
Status interface{} // 状态
Id any // 变动ID
MemberId any // 管理员ID
AppId any // 应用id
AddonsName any // 插件名称
CreditType any // 变动类型
CreditGroup any // 变动组别
BeforeNum any // 变动前
Num any // 变动数据
AfterNum any // 变动后
Remark any // 备注
Ip any // 操作人IP
MapId any // 关联ID
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,18 +12,18 @@ import (
// AdminDept is the golang structure of table hg_admin_dept for DAO operations like Where/Data.
type AdminDept struct {
g.Meta `orm:"table:hg_admin_dept, do:true"`
Id interface{} // 部门ID
Pid interface{} // 父部门ID
Name interface{} // 部门名称
Code interface{} // 部门编码
Type interface{} // 部门类型
Leader interface{} // 负责人
Phone interface{} // 联系电话
Email interface{} // 邮箱
Level interface{} // 关系树等级
Tree interface{} // 关系树
Sort interface{} // 排序
Status interface{} // 部门状态
Id any // 部门ID
Pid any // 父部门ID
Name any // 部门名称
Code any // 部门编码
Type any // 部门类型
Leader any // 负责人
Phone any // 联系电话
Email any // 邮箱
Level any // 关系树等级
Tree any // 关系树
Sort any // 排序
Status any // 部门状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -13,32 +13,32 @@ import (
// AdminMember is the golang structure of table hg_admin_member for DAO operations like Where/Data.
type AdminMember struct {
g.Meta `orm:"table:hg_admin_member, do:true"`
Id interface{} // 管理员ID
DeptId interface{} // 部门ID
RoleId interface{} // 角色ID
RealName interface{} // 真实姓名
Username interface{} // 帐号
PasswordHash interface{} // 密码
Salt interface{} // 密码盐
PasswordResetToken interface{} // 密码重置令牌
Integral interface{} // 积分
Balance interface{} // 余额
Avatar interface{} // 头像
Sex interface{} // 性别
Qq interface{} // qq
Email interface{} // 邮箱
Mobile interface{} // 手机号码
Id any // 管理员ID
DeptId any // 部门ID
RoleId any // 角色ID
RealName any // 真实姓名
Username any // 帐号
PasswordHash any // 密码
Salt any // 密码盐
PasswordResetToken any // 密码重置令牌
Integral any // 积分
Balance any // 余额
Avatar any // 头像
Sex any // 性别
Qq any // qq
Email any // 邮箱
Mobile any // 手机号码
Birthday *gtime.Time // 生日
CityId interface{} // 城市编码
Address interface{} // 联系地址
Pid interface{} // 上级管理员ID
Level interface{} // 关系树等级
Tree interface{} // 关系树
InviteCode interface{} // 邀请码
CityId any // 城市编码
Address any // 联系地址
Pid any // 上级管理员ID
Level any // 关系树等级
Tree any // 关系树
InviteCode any // 邀请码
Cash *gjson.Json // 提现配置
LastActiveAt *gtime.Time // 最后活跃时间
Remark interface{} // 备注
Status interface{} // 状态
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -11,6 +11,6 @@ import (
// AdminMemberPost is the golang structure of table hg_admin_member_post for DAO operations like Where/Data.
type AdminMemberPost struct {
g.Meta `orm:"table:hg_admin_member_post, do:true"`
MemberId interface{} // 管理员ID
PostId interface{} // 岗位ID
MemberId any // 管理员ID
PostId any // 岗位ID
}

View File

@@ -11,6 +11,6 @@ import (
// AdminMemberRole is the golang structure of table hg_admin_member_role for DAO operations like Where/Data.
type AdminMemberRole struct {
g.Meta `orm:"table:hg_admin_member_role, do:true"`
MemberId interface{} // 管理员ID
RoleId interface{} // 角色ID
MemberId any // 管理员ID
RoleId any // 角色ID
}

View File

@@ -12,30 +12,30 @@ import (
// AdminMenu is the golang structure of table hg_admin_menu for DAO operations like Where/Data.
type AdminMenu struct {
g.Meta `orm:"table:hg_admin_menu, do:true"`
Id interface{} // 菜单ID
Pid interface{} // 父菜单ID
Level interface{} // 关系树等级
Tree interface{} // 关系树
Title interface{} // 菜单名称
Name interface{} // 名称编码
Path interface{} // 路由地址
Icon interface{} // 菜单图标
Type interface{} // 菜单类型1目录 2菜单 3按钮
Redirect interface{} // 重定向地址
Permissions interface{} // 菜单包含权限集合
PermissionName interface{} // 权限名称
Component interface{} // 组件路径
AlwaysShow interface{} // 取消自动计算根路由模式
ActiveMenu interface{} // 高亮菜单编码
IsRoot interface{} // 是否跟路由
IsFrame interface{} // 是否内嵌
FrameSrc interface{} // 内联外部地址
KeepAlive interface{} // 缓存该路由
Hidden interface{} // 是否隐藏
Affix interface{} // 是否固定
Sort interface{} // 排序
Remark interface{} // 备注
Status interface{} // 菜单状态
Id any // 菜单ID
Pid any // 父菜单ID
Level any // 关系树等级
Tree any // 关系树
Title any // 菜单名称
Name any // 名称编码
Path any // 路由地址
Icon any // 菜单图标
Type any // 菜单类型1目录 2菜单 3按钮
Redirect any // 重定向地址
Permissions any // 菜单包含权限集合
PermissionName any // 权限名称
Component any // 组件路径
AlwaysShow any // 取消自动计算根路由模式
ActiveMenu any // 高亮菜单编码
IsRoot any // 是否跟路由
IsFrame any // 是否内嵌
FrameSrc any // 内联外部地址
KeepAlive any // 缓存该路由
Hidden any // 是否隐藏
Affix any // 是否固定
Sort any // 排序
Remark any // 备注
Status any // 菜单状态
UpdatedAt *gtime.Time // 更新时间
CreatedAt *gtime.Time // 创建时间
}

View File

@@ -13,17 +13,17 @@ import (
// AdminNotice is the golang structure of table hg_admin_notice for DAO operations like Where/Data.
type AdminNotice struct {
g.Meta `orm:"table:hg_admin_notice, do:true"`
Id interface{} // 公告ID
Title interface{} // 公告标题
Type interface{} // 公告类型
Tag interface{} // 标签
Content interface{} // 公告内容
Id any // 公告ID
Title any // 公告标题
Type any // 公告类型
Tag any // 标签
Content any // 公告内容
Receiver *gjson.Json // 接收者
Remark interface{} // 备注
Sort interface{} // 排序
Status interface{} // 公告状态
CreatedBy interface{} // 发送人
UpdatedBy interface{} // 修改人
Remark any // 备注
Sort any // 排序
Status any // 公告状态
CreatedBy any // 发送人
UpdatedBy any // 修改人
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 删除时间

View File

@@ -12,10 +12,10 @@ import (
// AdminNoticeRead is the golang structure of table hg_admin_notice_read for DAO operations like Where/Data.
type AdminNoticeRead struct {
g.Meta `orm:"table:hg_admin_notice_read, do:true"`
Id interface{} // 记录ID
NoticeId interface{} // 公告ID
MemberId interface{} // 会员ID
Clicks interface{} // 已读次数
Id any // 记录ID
NoticeId any // 公告ID
MemberId any // 会员ID
Clicks any // 已读次数
UpdatedAt *gtime.Time // 更新时间
CreatedAt *gtime.Time // 阅读时间
}

View File

@@ -12,19 +12,19 @@ import (
// AdminOauth is the golang structure of table hg_admin_oauth for DAO operations like Where/Data.
type AdminOauth struct {
g.Meta `orm:"table:hg_admin_oauth, do:true"`
Id interface{} // 主键
MemberId interface{} // 用户ID
Unionid interface{} // 唯一ID
OauthClient interface{} // 授权组别
OauthOpenid interface{} // 授权开放ID
Sex interface{} // 性别
Nickname interface{} // 昵称
HeadPortrait interface{} // 头像
Id any // 主键
MemberId any // 用户ID
Unionid any // 唯一ID
OauthClient any // 授权组别
OauthOpenid any // 授权开放ID
Sex any // 性别
Nickname any // 昵称
HeadPortrait any // 头像
Birthday *gtime.Time // 生日
Country interface{} // 国家
Province interface{} // 省
City interface{} // 市
Status interface{} // 状态
Country any // 国家
Province any // 省
City any // 市
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,16 +12,16 @@ import (
// AdminOrder is the golang structure of table hg_admin_order for DAO operations like Where/Data.
type AdminOrder struct {
g.Meta `orm:"table:hg_admin_order, do:true"`
Id interface{} // 主键
MemberId interface{} // 管理员id
OrderType interface{} // 订单类型
ProductId interface{} // 产品id
OrderSn interface{} // 关联订单号
Money interface{} // 充值金额
Remark interface{} // 备注
RefundReason interface{} // 退款原因
RejectRefundReason interface{} // 拒绝退款原因
Status interface{} // 状态
Id any // 主键
MemberId any // 管理员id
OrderType any // 订单类型
ProductId any // 产品id
OrderSn any // 关联订单号
Money any // 充值金额
Remark any // 备注
RefundReason any // 退款原因
RejectRefundReason any // 拒绝退款原因
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,12 +12,12 @@ import (
// AdminPost is the golang structure of table hg_admin_post for DAO operations like Where/Data.
type AdminPost struct {
g.Meta `orm:"table:hg_admin_post, do:true"`
Id interface{} // 岗位ID
Code interface{} // 岗位编码
Name interface{} // 岗位名称
Remark interface{} // 备注
Sort interface{} // 排序
Status interface{} // 状态
Id any // 岗位ID
Code any // 岗位编码
Name any // 岗位名称
Remark any // 备注
Sort any // 排序
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -13,17 +13,17 @@ import (
// AdminRole is the golang structure of table hg_admin_role for DAO operations like Where/Data.
type AdminRole struct {
g.Meta `orm:"table:hg_admin_role, do:true"`
Id interface{} // 角色ID
Name interface{} // 角色名称
Key interface{} // 角色权限字符串
DataScope interface{} // 数据范围
Id any // 角色ID
Name any // 角色名称
Key any // 角色权限字符串
DataScope any // 数据范围
CustomDept *gjson.Json // 自定义部门权限
Pid interface{} // 上级角色ID
Level interface{} // 关系树等级
Tree interface{} // 关系树
Remark interface{} // 备注
Sort interface{} // 排序
Status interface{} // 角色状态
Pid any // 上级角色ID
Level any // 关系树等级
Tree any // 关系树
Remark any // 备注
Sort any // 排序
Status any // 角色状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -11,12 +11,12 @@ import (
// AdminRoleCasbin is the golang structure of table hg_admin_role_casbin for DAO operations like Where/Data.
type AdminRoleCasbin struct {
g.Meta `orm:"table:hg_admin_role_casbin, do:true"`
Id interface{} //
PType interface{} //
V0 interface{} //
V1 interface{} //
V2 interface{} //
V3 interface{} //
V4 interface{} //
V5 interface{} //
Id any //
PType any //
V0 any //
V1 any //
V2 any //
V3 any //
V4 any //
V5 any //
}

View File

@@ -11,6 +11,6 @@ import (
// AdminRoleMenu is the golang structure of table hg_admin_role_menu for DAO operations like Where/Data.
type AdminRoleMenu struct {
g.Meta `orm:"table:hg_admin_role_menu, do:true"`
RoleId interface{} // 角色ID
MenuId interface{} // 菜单ID
RoleId any // 角色ID
MenuId any // 菜单ID
}

View File

@@ -13,34 +13,34 @@ import (
// PayLog is the golang structure of table hg_pay_log for DAO operations like Where/Data.
type PayLog struct {
g.Meta `orm:"table:hg_pay_log, do:true"`
Id interface{} // 主键
MemberId interface{} // 会员ID
AppId interface{} // 应用ID
AddonsName interface{} // 插件名称
OrderSn interface{} // 关联订单号
OrderGroup interface{} // 组别[默认统一支付类型]
Openid interface{} // openid
MchId interface{} // 商户支付账户
Subject interface{} // 订单标题
Id any // 主键
MemberId any // 会员ID
AppId any // 应用ID
AddonsName any // 插件名称
OrderSn any // 关联订单号
OrderGroup any // 组别[默认统一支付类型]
Openid any // openid
MchId any // 商户支付账户
Subject any // 订单标题
Detail *gjson.Json // 支付商品详情
AuthCode interface{} // 刷卡码
OutTradeNo interface{} // 商户订单号
TransactionId interface{} // 交易号
PayType interface{} // 支付类型
PayAmount interface{} // 支付金额
ActualAmount interface{} // 实付金额
PayStatus interface{} // 支付状态
AuthCode any // 刷卡码
OutTradeNo any // 商户订单号
TransactionId any // 交易号
PayType any // 支付类型
PayAmount any // 支付金额
ActualAmount any // 实付金额
PayStatus any // 支付状态
PayAt *gtime.Time // 支付时间
TradeType interface{} // 交易类型
RefundSn interface{} // 退款单号
IsRefund interface{} // 是否退款
Custom interface{} // 自定义参数
CreateIp interface{} // 创建者IP
PayIp interface{} // 支付者IP
NotifyUrl interface{} // 支付通知回调地址
ReturnUrl interface{} // 买家付款成功跳转地址
TradeType any // 交易类型
RefundSn any // 退款单号
IsRefund any // 是否退款
Custom any // 自定义参数
CreateIp any // 创建者IP
PayIp any // 支付者IP
NotifyUrl any // 支付通知回调地址
ReturnUrl any // 买家付款成功跳转地址
TraceIds *gjson.Json // 链路ID集合
Status interface{} // 状态
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,17 +12,17 @@ import (
// PayRefund is the golang structure of table hg_pay_refund for DAO operations like Where/Data.
type PayRefund struct {
g.Meta `orm:"table:hg_pay_refund, do:true"`
Id interface{} // 主键ID
MemberId interface{} // 会员ID
AppId interface{} // 应用ID
OrderSn interface{} // 业务订单号
RefundTradeNo interface{} // 退款交易号
RefundMoney interface{} // 退款金额
RefundWay interface{} // 退款方式
Ip interface{} // 申请者IP
Reason interface{} // 申请退款原因
Remark interface{} // 退款备注
Status interface{} // 退款状态
Id any // 主键ID
MemberId any // 会员ID
AppId any // 应用ID
OrderSn any // 业务订单号
RefundTradeNo any // 退款交易号
RefundMoney any // 退款金额
RefundWay any // 退款方式
Ip any // 申请者IP
Reason any // 申请退款原因
Remark any // 退款备注
Status any // 退款状态
CreatedAt *gtime.Time // 申请时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,18 +12,18 @@ import (
// SysAddonsConfig is the golang structure of table hg_sys_addons_config for DAO operations like Where/Data.
type SysAddonsConfig struct {
g.Meta `orm:"table:hg_sys_addons_config, do:true"`
Id interface{} // 配置ID
AddonName interface{} // 插件名称
Group interface{} // 分组
Name interface{} // 参数名称
Type interface{} // 键值类型:string,int,uint,bool,datetime,date
Key interface{} // 参数键名
Value interface{} // 参数键值
DefaultValue interface{} // 默认值
Sort interface{} // 排序
Tip interface{} // 变量描述
IsDefault interface{} // 是否为系统默认
Status interface{} // 状态
Id any // 配置ID
AddonName any // 插件名称
Group any // 分组
Name any // 参数名称
Type any // 键值类型:string,int,uint,bool,datetime,date
Key any // 参数键名
Value any // 参数键值
DefaultValue any // 默认值
Sort any // 排序
Tip any // 变量描述
IsDefault any // 是否为系统默认
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,21 +12,21 @@ import (
// SysAttachment is the golang structure of table hg_sys_attachment for DAO operations like Where/Data.
type SysAttachment struct {
g.Meta `orm:"table:hg_sys_attachment, do:true"`
Id interface{} // 文件ID
AppId interface{} // 应用ID
MemberId interface{} // 管理员ID
CateId interface{} // 上传分类
Drive interface{} // 上传驱动
Name interface{} // 文件原始名
Kind interface{} // 上传类型
MimeType interface{} // 扩展类型
NaiveType interface{} // NaiveUI类型
Path interface{} // 本地路径
FileUrl interface{} // url
Size interface{} // 文件大小
Ext interface{} // 扩展名
Md5 interface{} // md5校验码
Status interface{} // 状态
Id any // 文件ID
AppId any // 应用ID
MemberId any // 管理员ID
CateId any // 上传分类
Drive any // 上传驱动
Name any // 文件原始名
Kind any // 上传类型
MimeType any // 扩展类型
NaiveType any // NaiveUI类型
Path any // 本地路径
FileUrl any // url
Size any // 文件大小
Ext any // 扩展名
Md5 any // md5校验码
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,10 +12,10 @@ import (
// SysBlacklist is the golang structure of table hg_sys_blacklist for DAO operations like Where/Data.
type SysBlacklist struct {
g.Meta `orm:"table:hg_sys_blacklist, do:true"`
Id interface{} // 黑名单ID
Ip interface{} // IP地址
Remark interface{} // 备注
Status interface{} // 状态
Id any // 黑名单ID
Ip any // IP地址
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,17 +12,17 @@ import (
// SysConfig is the golang structure of table hg_sys_config for DAO operations like Where/Data.
type SysConfig struct {
g.Meta `orm:"table:hg_sys_config, do:true"`
Id interface{} // 配置ID
Group interface{} // 配置分组
Name interface{} // 参数名称
Type interface{} // 键值类型:string,int,uint,bool,datetime,date
Key interface{} // 参数键名
Value interface{} // 参数键值
DefaultValue interface{} // 默认值
Sort interface{} // 排序
Tip interface{} // 变量描述
IsDefault interface{} // 是否为系统默认
Status interface{} // 状态
Id any // 配置ID
Group any // 配置分组
Name any // 参数名称
Type any // 键值类型:string,int,uint,bool,datetime,date
Key any // 参数键名
Value any // 参数键值
DefaultValue any // 默认值
Sort any // 排序
Tip any // 变量描述
IsDefault any // 是否为系统默认
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,17 +12,17 @@ import (
// SysCron is the golang structure of table hg_sys_cron for DAO operations like Where/Data.
type SysCron struct {
g.Meta `orm:"table:hg_sys_cron, do:true"`
Id interface{} // 任务ID
GroupId interface{} // 分组ID
Title interface{} // 任务标题
Name interface{} // 任务方法
Params interface{} // 函数参数
Pattern interface{} // 表达式
Policy interface{} // 策略
Count interface{} // 执行次数
Sort interface{} // 排序
Remark interface{} // 备注
Status interface{} // 任务状态
Id any // 任务ID
GroupId any // 分组ID
Title any // 任务标题
Name any // 任务方法
Params any // 函数参数
Pattern any // 表达式
Policy any // 策略
Count any // 执行次数
Sort any // 排序
Remark any // 备注
Status any // 任务状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,13 +12,13 @@ import (
// SysCronGroup is the golang structure of table hg_sys_cron_group for DAO operations like Where/Data.
type SysCronGroup struct {
g.Meta `orm:"table:hg_sys_cron_group, do:true"`
Id interface{} // 任务分组ID
Pid interface{} // 父类任务分组ID
Name interface{} // 分组名称
IsDefault interface{} // 是否默认
Sort interface{} // 排序
Remark interface{} // 备注
Status interface{} // 分组状态
Id any // 任务分组ID
Pid any // 父类任务分组ID
Name any // 分组名称
IsDefault any // 是否默认
Sort any // 排序
Remark any // 备注
Status any // 分组状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,16 +12,16 @@ import (
// SysDictData is the golang structure of table hg_sys_dict_data for DAO operations like Where/Data.
type SysDictData struct {
g.Meta `orm:"table:hg_sys_dict_data, do:true"`
Id interface{} // 字典数据ID
Label interface{} // 字典标签
Value interface{} // 字典键值
ValueType interface{} // 键值数据类型string,int,uint,bool,datetime,date
Type interface{} // 字典类型
ListClass interface{} // 表格回显样式
IsDefault interface{} // 是否为系统默认
Sort interface{} // 字典排序
Remark interface{} // 备注
Status interface{} // 状态
Id any // 字典数据ID
Label any // 字典标签
Value any // 字典键值
ValueType any // 键值数据类型string,int,uint,bool,datetime,date
Type any // 字典类型
ListClass any // 表格回显样式
IsDefault any // 是否为系统默认
Sort any // 字典排序
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,13 +12,13 @@ import (
// SysDictType is the golang structure of table hg_sys_dict_type for DAO operations like Where/Data.
type SysDictType struct {
g.Meta `orm:"table:hg_sys_dict_type, do:true"`
Id interface{} // 字典类型ID
Pid interface{} // 父类字典类型ID
Name interface{} // 字典类型名称
Type interface{} // 字典类型
Sort interface{} // 排序
Remark interface{} // 备注
Status interface{} // 字典类型状态
Id any // 字典类型ID
Pid any // 父类字典类型ID
Name any // 字典类型名称
Type any // 字典类型
Sort any // 排序
Remark any // 备注
Status any // 字典类型状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,14 +12,14 @@ import (
// SysEmsLog is the golang structure of table hg_sys_ems_log for DAO operations like Where/Data.
type SysEmsLog struct {
g.Meta `orm:"table:hg_sys_ems_log, do:true"`
Id interface{} // 主键
Event interface{} // 事件
Email interface{} // 邮箱地址,多个用;隔开
Code interface{} // 验证码
Times interface{} // 验证次数
Content interface{} // 邮件内容
Ip interface{} // ip地址
Status interface{} // 状态(1未验证,2已验证)
Id any // 主键
Event any // 事件
Email any // 邮箱地址,多个用;隔开
Code any // 验证码
Times any // 验证次数
Content any // 邮件内容
Ip any // ip地址
Status any // 状态(1未验证,2已验证)
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -13,18 +13,18 @@ import (
// SysGenCodes is the golang structure of table hg_sys_gen_codes for DAO operations like Where/Data.
type SysGenCodes struct {
g.Meta `orm:"table:hg_sys_gen_codes, do:true"`
Id interface{} // 生成ID
GenType interface{} // 生成类型
GenTemplate interface{} // 生成模板
VarName interface{} // 实体命名
Id any // 生成ID
GenType any // 生成类型
GenTemplate any // 生成模板
VarName any // 实体命名
Options *gjson.Json // 配置选项
DbName interface{} // 数据库名称
TableName interface{} // 主表名称
TableComment interface{} // 主表注释
DaoName interface{} // 主表dao模型
DbName any // 数据库名称
TableName any // 主表名称
TableComment any // 主表注释
DaoName any // 主表dao模型
MasterColumns *gjson.Json // 主表字段
AddonName interface{} // 插件名称
Status interface{} // 生成状态
AddonName any // 插件名称
Status any // 生成状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,20 +12,20 @@ import (
// SysGenCurdDemo is the golang structure of table hg_sys_gen_curd_demo for DAO operations like Where/Data.
type SysGenCurdDemo struct {
g.Meta `orm:"table:hg_sys_gen_curd_demo, do:true"`
Id interface{} // ID
CategoryId interface{} // 分类ID
Title interface{} // 标题
Description interface{} // 描述
Content interface{} // 内容
Image interface{} // 单图
Attachfile interface{} // 附件
CityId interface{} // 所在城市
Switch interface{} // 显示开关
Sort interface{} // 排序
Status interface{} // 状态
CreatedBy interface{} // 创建者
UpdatedBy interface{} // 更新者
DeletedBy interface{} // 删除者
Id any // ID
CategoryId any // 分类ID
Title any // 标题
Description any // 描述
Content any // 内容
Image any // 单图
Attachfile any // 附件
CityId any // 所在城市
Switch any // 显示开关
Sort any // 排序
Status any // 状态
CreatedBy any // 创建者
UpdatedBy any // 更新者
DeletedBy any // 删除者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间

View File

@@ -12,17 +12,17 @@ import (
// SysGenTreeDemo is the golang structure of table hg_sys_gen_tree_demo for DAO operations like Where/Data.
type SysGenTreeDemo struct {
g.Meta `orm:"table:hg_sys_gen_tree_demo, do:true"`
Id interface{} // ID
Pid interface{} // 上级ID
Level interface{} // 关系树级别
Tree interface{} // 关系树
CategoryId interface{} // 分类ID
Title interface{} // 标题
Description interface{} // 描述
Sort interface{} // 排序
Status interface{} // 状态
CreatedBy interface{} // 创建者
UpdatedBy interface{} // 更新者
Id any // ID
Pid any // 上级ID
Level any // 关系树级别
Tree any // 关系树
CategoryId any // 分类ID
Title any // 标题
Description any // 描述
Sort any // 排序
Status any // 状态
CreatedBy any // 创建者
UpdatedBy any // 更新者
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间

View File

@@ -13,27 +13,27 @@ import (
// SysLog is the golang structure of table hg_sys_log for DAO operations like Where/Data.
type SysLog struct {
g.Meta `orm:"table:hg_sys_log, do:true"`
Id interface{} // 日志ID
ReqId interface{} // 对外ID
AppId interface{} // 应用ID
MerchantId interface{} // 商户ID
MemberId interface{} // 用户ID
Method interface{} // 提交类型
Module interface{} // 访问模块
Url interface{} // 提交url
Id any // 日志ID
ReqId any // 对外ID
AppId any // 应用ID
MerchantId any // 商户ID
MemberId any // 用户ID
Method any // 提交类型
Module any // 访问模块
Url any // 提交url
GetData *gjson.Json // get数据
PostData *gjson.Json // post数据
HeaderData *gjson.Json // header数据
Ip interface{} // IP地址
ProvinceId interface{} // 省编码
CityId interface{} // 市编码
ErrorCode interface{} // 报错code
ErrorMsg interface{} // 对外错误提示
Ip any // IP地址
ProvinceId any // 省编码
CityId any // 市编码
ErrorCode any // 报错code
ErrorMsg any // 对外错误提示
ErrorData *gjson.Json // 报错日志
UserAgent interface{} // UA信息
TakeUpTime interface{} // 请求耗时
Timestamp interface{} // 响应时间
Status interface{} // 状态
UserAgent any // UA信息
TakeUpTime any // 请求耗时
Timestamp any // 响应时间
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -13,18 +13,18 @@ import (
// SysLoginLog is the golang structure of table hg_sys_login_log for DAO operations like Where/Data.
type SysLoginLog struct {
g.Meta `orm:"table:hg_sys_login_log, do:true"`
Id interface{} // 日志ID
ReqId interface{} // 请求ID
MemberId interface{} // 用户ID
Username interface{} // 用户名
Id any // 日志ID
ReqId any // 请求ID
MemberId any // 用户ID
Username any // 用户名
Response *gjson.Json // 响应数据
LoginAt *gtime.Time // 登录时间
LoginIp interface{} // 登录IP
ProvinceId interface{} // 省编码
CityId interface{} // 市编码
UserAgent interface{} // UA信息
ErrMsg interface{} // 错误提示
Status interface{} // 状态
LoginIp any // 登录IP
ProvinceId any // 省编码
CityId any // 市编码
UserAgent any // UA信息
ErrMsg any // 错误提示
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,16 +12,16 @@ import (
// SysProvinces is the golang structure of table hg_sys_provinces for DAO operations like Where/Data.
type SysProvinces struct {
g.Meta `orm:"table:hg_sys_provinces, do:true"`
Id interface{} // 省市区ID
Title interface{} // 栏目名称
Pinyin interface{} // 拼音
Lng interface{} // 经度
Lat interface{} // 纬度
Pid interface{} // 父栏目
Level interface{} // 关系树等级
Tree interface{} // 关系
Sort interface{} // 排序
Status interface{} // 状态
Id any // 省市区ID
Title any // 栏目名称
Pinyin any // 拼音
Lng any // 经度
Lat any // 纬度
Pid any // 父栏目
Level any // 关系树等级
Tree any // 关系
Sort any // 排序
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -13,21 +13,21 @@ import (
// SysServeLicense is the golang structure of table hg_sys_serve_license for DAO operations like Where/Data.
type SysServeLicense struct {
g.Meta `orm:"table:hg_sys_serve_license, do:true"`
Id interface{} // 许可ID
Group interface{} // 分组
Name interface{} // 许可名称
Appid interface{} // 应用ID
SecretKey interface{} // 应用秘钥
RemoteAddr interface{} // 最后连接地址
OnlineLimit interface{} // 在线限制
LoginTimes interface{} // 登录次数
Id any // 许可ID
Group any // 分组
Name any // 许可名称
Appid any // 应用ID
SecretKey any // 应用秘钥
RemoteAddr any // 最后连接地址
OnlineLimit any // 在线限制
LoginTimes any // 登录次数
LastLoginAt *gtime.Time // 最后登录时间
LastActiveAt *gtime.Time // 最后心跳
Routes *gjson.Json // 路由表,空使用默认分组路由
AllowedIps interface{} // IP白名单
AllowedIps any // IP白名单
EndAt *gtime.Time // 授权有效期
Remark interface{} // 备注
Status interface{} // 状态
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -13,14 +13,14 @@ import (
// SysServeLog is the golang structure of table hg_sys_serve_log for DAO operations like Where/Data.
type SysServeLog struct {
g.Meta `orm:"table:hg_sys_serve_log, do:true"`
Id interface{} // 日志ID
TraceId interface{} // 链路ID
LevelFormat interface{} // 日志级别
Content interface{} // 日志内容
Id any // 日志ID
TraceId any // 链路ID
LevelFormat any // 日志级别
Content any // 日志内容
Stack *gjson.Json // 打印堆栈
Line interface{} // 调用行
TriggerNs interface{} // 触发时间(ns)
Status interface{} // 状态
Line any // 调用行
TriggerNs any // 触发时间(ns)
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
}

View File

@@ -12,13 +12,13 @@ import (
// SysSmsLog is the golang structure of table hg_sys_sms_log for DAO operations like Where/Data.
type SysSmsLog struct {
g.Meta `orm:"table:hg_sys_sms_log, do:true"`
Id interface{} // 主键
Event interface{} // 事件
Mobile interface{} // 手机号
Code interface{} // 验证码或短信内容
Times interface{} // 验证次数
Ip interface{} // ip地址
Status interface{} // 状态(1未验证,2已验证)
Id any // 主键
Event any // 事件
Mobile any // 手机号
Code any // 验证码或短信内容
Times any // 验证次数
Ip any // ip地址
Status any // 状态(1未验证,2已验证)
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
}

View File

@@ -12,13 +12,13 @@ import (
// TestCategory is the golang structure of table hg_test_category for DAO operations like Where/Data.
type TestCategory struct {
g.Meta `orm:"table:hg_test_category, do:true"`
Id interface{} // 分类ID
Name interface{} // 分类名称
ShortName interface{} // 简称
Description interface{} // 描述
Sort interface{} // 排序
Remark interface{} // 备注
Status interface{} // 状态
Id any // 分类ID
Name any // 分类名称
ShortName any // 简称
Description any // 描述
Sort any // 排序
Remark any // 备注
Status any // 状态
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 修改时间
DeletedAt *gtime.Time // 删除时间

View File

@@ -95,3 +95,12 @@ type UploadPartInp struct {
type UploadPartModel struct {
*storager.UploadPartModel
}
// ImageTransferStorageInp 图片链接转存
type ImageTransferStorageInp struct {
Url string `json:"url" v:"required#图片链接不能为空" dc:"图片链接"`
}
type ImageTransferStorageModel struct {
*AttachmentListModel
}

View File

@@ -1,9 +1,9 @@
// Package sysin
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2024 HotGo CLI
// @Copyright Copyright (c) 2025 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.7
// @AutoGenerate Version 2.17.8
package sysin
import (
@@ -53,7 +53,6 @@ func (in *OptionTreeDemoEditInp) Filter(ctx context.Context) (err error) {
if err := g.Validator().Rules("required").Data(in.Title).Messages("标题不能为空").Run(ctx); err != nil {
return err.Current()
}
return
}
@@ -122,9 +121,10 @@ type OptionTreeDemoMaxSortModel struct {
// OptionTreeDemoTreeOption 关系树选项
type OptionTreeDemoTreeOption struct {
Title string `json:"title" dc:"标题"`
Id int64 `json:"id" dc:"ID"`
Pid int64 `json:"pid" dc:"上级"`
Title string `json:"title" dc:"标题"`
Id int64 `json:"id" dc:"ID"`
Pid int64 `json:"pid" dc:"上级"`
Children []tree.Node `json:"children" dc:"子节点"`
}
@@ -141,4 +141,4 @@ func (t *OptionTreeDemoTreeOption) PID() int64 {
// SetChildren 设置子节点数据
func (t *OptionTreeDemoTreeOption) SetChildren(children []tree.Node) {
t.Children = children
}
}