mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-12 04:53:47 +08:00
版本预发布
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
@@ -19,22 +20,20 @@ type AdminMember struct {
|
||||
Salt string `json:"salt" description:"密码盐"`
|
||||
AuthKey string `json:"authKey" description:"授权令牌"`
|
||||
PasswordResetToken string `json:"passwordResetToken" description:"密码重置令牌"`
|
||||
Balance float64 `json:"balance" description:"余额"`
|
||||
Avatar string `json:"avatar" description:"头像"`
|
||||
Sex int `json:"sex" description:"性别"`
|
||||
Qq string `json:"qq" description:"qq"`
|
||||
Email string `json:"email" description:"邮箱"`
|
||||
Mobile string `json:"mobile" description:"手机号码"`
|
||||
Birthday *gtime.Time `json:"birthday" description:"生日"`
|
||||
ProvinceId int64 `json:"provinceId" description:"省编码"`
|
||||
CityId int64 `json:"cityId" description:"城市编码"`
|
||||
CountyId int64 `json:"countyId" description:"区域编码"`
|
||||
Address string `json:"address" description:"联系地址"`
|
||||
VisitCount uint `json:"visitCount" description:"访问次数"`
|
||||
LastTime int `json:"lastTime" description:"最后一次登录时间"`
|
||||
LastIp string `json:"lastIp" description:"最后一次登录ip"`
|
||||
Pid int64 `json:"pid" description:"上级管理员ID"`
|
||||
Level int `json:"level" description:"关系树等级"`
|
||||
Tree string `json:"tree" description:"关系树"`
|
||||
Cash *gjson.Json `json:"cash" description:"提现配置"`
|
||||
LastActiveAt *gtime.Time `json:"lastActiveAt" description:"最后活跃时间"`
|
||||
Remark string `json:"remark" description:"备注"`
|
||||
Status int `json:"status" description:"状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
|
@@ -5,6 +5,7 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
@@ -13,12 +14,15 @@ type AdminNotice struct {
|
||||
Id int64 `json:"id" description:"公告ID"`
|
||||
Title string `json:"title" description:"公告标题"`
|
||||
Type int64 `json:"type" description:"公告类型"`
|
||||
Tag int `json:"tag" description:"标签"`
|
||||
Content string `json:"content" description:"公告内容"`
|
||||
Receiver string `json:"receiver" description:"接收者"`
|
||||
Reader string `json:"reader" description:"已读人"`
|
||||
Receiver *gjson.Json `json:"receiver" description:"接收者"`
|
||||
Remark string `json:"remark" description:"备注"`
|
||||
Sort int `json:"sort" description:"排序"`
|
||||
Status int `json:"status" description:"公告状态"`
|
||||
CreatedBy int64 `json:"createdBy" description:"发送人"`
|
||||
UpdatedBy int64 `json:"updatedBy" description:"修改人"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" description:"删除时间"`
|
||||
}
|
||||
|
19
server/internal/model/entity/admin_notice_read.go
Normal file
19
server/internal/model/entity/admin_notice_read.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AdminNoticeRead is the golang structure for table admin_notice_read.
|
||||
type AdminNoticeRead struct {
|
||||
Id int64 `json:"id" description:"记录ID"`
|
||||
NoticeId int64 `json:"noticeId" description:"公告ID"`
|
||||
MemberId int64 `json:"memberId" description:"会员ID"`
|
||||
Clicks int `json:"clicks" description:"已读次数"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"阅读时间"`
|
||||
}
|
23
server/internal/model/entity/sys_ems_log.go
Normal file
23
server/internal/model/entity/sys_ems_log.go
Normal file
@@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysEmsLog is the golang structure for table sys_ems_log.
|
||||
type SysEmsLog struct {
|
||||
Id int64 `json:"id" description:"主键"`
|
||||
Event string `json:"event" description:"事件"`
|
||||
Email string `json:"email" description:"邮箱地址,多个用;隔开"`
|
||||
Code string `json:"code" description:"验证码"`
|
||||
Times int64 `json:"times" description:"验证次数"`
|
||||
Content string `json:"content" description:"邮件内容"`
|
||||
Ip string `json:"ip" description:"ip地址"`
|
||||
Status int `json:"status" description:"状态(1未验证,2已验证)"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
|
||||
}
|
@@ -13,6 +13,7 @@ import (
|
||||
type SysGenCodes struct {
|
||||
Id int64 `json:"id" description:"生成ID"`
|
||||
GenType uint `json:"genType" description:"生成类型"`
|
||||
GenTemplate int `json:"genTemplate" description:"生成模板"`
|
||||
VarName string `json:"varName" description:"实体命名"`
|
||||
Options *gjson.Json `json:"options" description:"配置选项"`
|
||||
DbName string `json:"dbName" description:"数据库名称"`
|
||||
|
@@ -17,6 +17,7 @@ type SysGenCurdDemo struct {
|
||||
Content string `json:"content" description:"内容"`
|
||||
Image string `json:"image" description:"单图"`
|
||||
Attachfile string `json:"attachfile" description:"附件"`
|
||||
CityId int64 `json:"cityId" description:"所在城市"`
|
||||
Switch int `json:"switch" description:"显示开关"`
|
||||
Sort int `json:"sort" description:"排序"`
|
||||
Status int `json:"status" description:"状态"`
|
||||
|
@@ -17,6 +17,7 @@ type SysLoginLog struct {
|
||||
Username string `json:"username" description:"用户名"`
|
||||
Response *gjson.Json `json:"response" description:"响应数据"`
|
||||
LoginAt *gtime.Time `json:"loginAt" description:"登录时间"`
|
||||
LoginIp string `json:"loginIp" description:"登录IP"`
|
||||
ErrMsg string `json:"errMsg" description:"错误提示"`
|
||||
Status int `json:"status" description:"状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
|
@@ -37,6 +37,7 @@ type Test struct {
|
||||
Mobile string `json:"mobile" description:"手机号码"`
|
||||
Hobby *gjson.Json `json:"hobby" description:"爱好"`
|
||||
Channel int `json:"channel" description:"渠道"`
|
||||
CityId int64 `json:"cityId" description:"所在城市"`
|
||||
Pid int64 `json:"pid" description:"上级ID"`
|
||||
Level int `json:"level" description:"树等级"`
|
||||
Tree string `json:"tree" description:"关系树"`
|
||||
|
Reference in New Issue
Block a user