Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
9a82b28377
|
@ -1,24 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
|
||||||
|
|
||||||
// casbin_rule
|
|
||||||
type CasbinRule struct {
|
|
||||||
PType *string `gorm:"default:'';" json:"p_type"` //
|
|
||||||
V0 *string `gorm:"default:'';" json:"v0"` //
|
|
||||||
V1 *string `gorm:"default:'';" json:"v1"` //
|
|
||||||
V2 *string `gorm:"default:'';" json:"v2"` //
|
|
||||||
V3 *string `gorm:"default:'';" json:"v3"` //
|
|
||||||
V4 *string `gorm:"default:'';" json:"v4"` //
|
|
||||||
V5 *string `gorm:"default:'';" json:"v5"` //
|
|
||||||
}
|
|
||||||
type CasbinRuleModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewCasbinRuleModel(db *gorm.DB) *CasbinRuleModel {
|
|
||||||
return &CasbinRuleModel{db: db, name: "casbin_rule"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -1,32 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
// fs_admin_api 后台--接口表
|
|
||||||
type FsAdminApi struct {
|
|
||||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // 序号
|
|
||||||
Name *string `gorm:"default:'';" json:"name"` //
|
|
||||||
Path *string `gorm:"default:'';" json:"path"` //
|
|
||||||
Status *int64 `gorm:"default:2;" json:"status"` // 状态:1=启用,2=停用
|
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
|
||||||
Sort *int64 `gorm:"default:0;" json:"sort"` // 排序权重
|
|
||||||
CreateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"create_time"` //
|
|
||||||
UpdateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"update_time"` //
|
|
||||||
DeleteTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"delete_time"` //
|
|
||||||
CreateUid *int64 `gorm:"default:0;" json:"create_uid"` // 创建人
|
|
||||||
UpdateUid *int64 `gorm:"default:0;" json:"update_uid"` // 更新人
|
|
||||||
DeleteUid *int64 `gorm:"default:0;" json:"delete_uid"` // 删除人
|
|
||||||
IsDel *int64 `gorm:"default:0;" json:"is_del"` // 是否删除:1=是 0=否
|
|
||||||
Method *int64 `gorm:"default:0;" json:"method"` // 接口方法
|
|
||||||
}
|
|
||||||
type FsAdminApiModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFsAdminApiModel(db *gorm.DB) *FsAdminApiModel {
|
|
||||||
return &FsAdminApiModel{db: db, name: "fs_admin_api"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -1,33 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
// fs_admin_auth_role 后台--角色表
|
|
||||||
type FsAdminAuthRole struct {
|
|
||||||
Id int64 `gorm:"primary_key;default:0;" json:"id"` // 序号
|
|
||||||
RolePid *int64 `gorm:"default:0;" json:"role_pid"` // 上级角色
|
|
||||||
RoleName *string `gorm:"default:'';" json:"role_name"` //
|
|
||||||
DataAuthType *int64 `gorm:"default:1;" json:"data_auth_type"` // 数据权限类型
|
|
||||||
DataAuth *string `gorm:"default:'';" json:"data_auth"` //
|
|
||||||
Status *int64 `gorm:"default:2;" json:"status"` // 状态:1=启用,2=停用
|
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
|
||||||
Sort *int64 `gorm:"default:0;" json:"sort"` // 排序权重
|
|
||||||
CreateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"create_time"` //
|
|
||||||
UpdateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"update_time"` //
|
|
||||||
DeleteTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"delete_time"` //
|
|
||||||
CreateUid *int64 `gorm:"default:0;" json:"create_uid"` // 创建人
|
|
||||||
UpdateUid *int64 `gorm:"default:0;" json:"update_uid"` // 更新人
|
|
||||||
DeleteUid *int64 `gorm:"default:0;" json:"delete_uid"` // 删除人
|
|
||||||
IsDel *int64 `gorm:"default:0;" json:"is_del"` // 是否删除:1=是 0=否
|
|
||||||
}
|
|
||||||
type FsAdminAuthRoleModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFsAdminAuthRoleModel(db *gorm.DB) *FsAdminAuthRoleModel {
|
|
||||||
return &FsAdminAuthRoleModel{db: db, name: "fs_admin_auth_role"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -1,35 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
// fs_admin_department 后台--部门表
|
|
||||||
type FsAdminDepartment struct {
|
|
||||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // 序号
|
|
||||||
DeptPid *int64 `gorm:"default:0;" json:"dept_pid"` // 上级部门
|
|
||||||
DeptNo *string `gorm:"default:'';" json:"dept_no"` //
|
|
||||||
DeptName *string `gorm:"unique_key;default:'';" json:"dept_name"` //
|
|
||||||
ShortName *string `gorm:"default:'';" json:"short_name"` //
|
|
||||||
UserId *int64 `gorm:"default:0;" json:"user_id"` // 部门负责人
|
|
||||||
Phone *string `gorm:"default:'';" json:"phone"` //
|
|
||||||
Status *int64 `gorm:"default:2;" json:"status"` // 状态:1=启用,2=停用
|
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
|
||||||
Sort *int64 `gorm:"default:0;" json:"sort"` // 排序权重
|
|
||||||
CreateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"create_time"` //
|
|
||||||
UpdateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"update_time"` //
|
|
||||||
DeleteTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"delete_time"` //
|
|
||||||
CreateUid *int64 `gorm:"default:0;" json:"create_uid"` // 创建人
|
|
||||||
UpdateUid *int64 `gorm:"default:0;" json:"update_uid"` // 更新人
|
|
||||||
DeleteUid *int64 `gorm:"default:0;" json:"delete_uid"` // 删除人
|
|
||||||
IsDel *int64 `gorm:"default:0;" json:"is_del"` // 是否删除:1=是 0=否
|
|
||||||
}
|
|
||||||
type FsAdminDepartmentModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFsAdminDepartmentModel(db *gorm.DB) *FsAdminDepartmentModel {
|
|
||||||
return &FsAdminDepartmentModel{db: db, name: "fs_admin_department"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -1,44 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
// fs_admin_menu 后台--菜单表
|
|
||||||
type FsAdminMenu struct {
|
|
||||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // 序号
|
|
||||||
Pid *int64 `gorm:"default:0;" json:"pid"` // 上级菜单
|
|
||||||
Name *string `gorm:"unique_key;default:'';" json:"name"` //
|
|
||||||
Path *string `gorm:"default:'';" json:"path"` //
|
|
||||||
Hide *string `gorm:"default:'';" json:"hide"` //
|
|
||||||
Type *int64 `gorm:"default:0;" json:"type"` // 类型:1=菜单,2=iframe,3=外链,4=按钮
|
|
||||||
Alias *string `gorm:"default:'';" json:"alias"` //
|
|
||||||
Icon *string `gorm:"default:'';" json:"icon"` //
|
|
||||||
Redirect *string `gorm:"default:'';" json:"redirect"` //
|
|
||||||
Highlight *string `gorm:"default:'';" json:"highlight"` //
|
|
||||||
View *string `gorm:"default:'';" json:"view"` //
|
|
||||||
Colour *string `gorm:"default:'';" json:"colour"` //
|
|
||||||
FullPageRout *int64 `gorm:"default:0;" json:"full_page_rout"` // 整页路由:1=是,0=否
|
|
||||||
Label *string `gorm:"default:'';" json:"label"` //
|
|
||||||
Metadata *[]byte `gorm:"default:'';" json:"metadata"` // 元数据,json格式
|
|
||||||
Status *int64 `gorm:"default:2;" json:"status"` // 状态:1=启用,2=停用
|
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
|
||||||
Sort *int64 `gorm:"default:0;" json:"sort"` // 排序权重
|
|
||||||
CreateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"create_time"` //
|
|
||||||
UpdateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"update_time"` //
|
|
||||||
DeleteTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"delete_time"` //
|
|
||||||
CreateUid *int64 `gorm:"default:0;" json:"create_uid"` // 创建人
|
|
||||||
UpdateUid *int64 `gorm:"default:0;" json:"update_uid"` // 更新人
|
|
||||||
DeleteUid *int64 `gorm:"default:0;" json:"delete_uid"` // 删除人
|
|
||||||
IsDel *int64 `gorm:"default:0;" json:"is_del"` // 是否删除:1=是 0=否
|
|
||||||
ApiAuth *[]byte `gorm:"default:'';" json:"api_auth"` //
|
|
||||||
}
|
|
||||||
type FsAdminMenuModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFsAdminMenuModel(db *gorm.DB) *FsAdminMenuModel {
|
|
||||||
return &FsAdminMenuModel{db: db, name: "fs_admin_menu"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -1,23 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
|
||||||
|
|
||||||
// fs_admin_role_api 后台--角色接口表
|
|
||||||
type FsAdminRoleApi struct {
|
|
||||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // 序号
|
|
||||||
RoleId *int64 `gorm:"index;default:0;" json:"role_id"` // 角色ID
|
|
||||||
MenuId *int64 `gorm:"index;default:0;" json:"menu_id"` // 菜单ID
|
|
||||||
ApiId *int64 `gorm:"index;default:0;" json:"api_id"` // 接口ID
|
|
||||||
ApiPath *string `gorm:"default:'';" json:"api_path"` //
|
|
||||||
ApiMethod *int64 `gorm:"default:0;" json:"api_method"` // 接口方法
|
|
||||||
}
|
|
||||||
type FsAdminRoleApiModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFsAdminRoleApiModel(db *gorm.DB) *FsAdminRoleApiModel {
|
|
||||||
return &FsAdminRoleApiModel{db: db, name: "fs_admin_role_api"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -1,34 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
// fs_admin_role 后台--角色表
|
|
||||||
type FsAdminRole struct {
|
|
||||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // 序号
|
|
||||||
RolePid *int64 `gorm:"default:0;" json:"role_pid"` // 上级角色
|
|
||||||
RoleName *string `gorm:"unique_key;default:'';" json:"role_name"` //
|
|
||||||
DataAuthType *int64 `gorm:"default:1;" json:"data_auth_type"` // 数据权限类型
|
|
||||||
DataAuth *[]byte `gorm:"default:'';" json:"data_auth"` //
|
|
||||||
Status *int64 `gorm:"default:2;" json:"status"` // 状态:1=启用,2=停用
|
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
|
||||||
Sort *int64 `gorm:"default:0;" json:"sort"` // 排序权重
|
|
||||||
CreateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"create_time"` //
|
|
||||||
UpdateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"update_time"` //
|
|
||||||
DeleteTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"delete_time"` //
|
|
||||||
CreateUid *int64 `gorm:"default:0;" json:"create_uid"` // 创建人
|
|
||||||
UpdateUid *int64 `gorm:"default:0;" json:"update_uid"` // 更新人
|
|
||||||
DeleteUid *int64 `gorm:"default:0;" json:"delete_uid"` // 删除人
|
|
||||||
IsDel *int64 `gorm:"default:0;" json:"is_del"` // 是否删除:1=是 0=否
|
|
||||||
MenuAuth *[]byte `gorm:"default:'';" json:"menu_auth"` //
|
|
||||||
}
|
|
||||||
type FsAdminRoleModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFsAdminRoleModel(db *gorm.DB) *FsAdminRoleModel {
|
|
||||||
return &FsAdminRoleModel{db: db, name: "fs_admin_role"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -1,44 +0,0 @@
|
||||||
package gmodel
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gorm.io/gorm"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
// fs_admin_user 后台--管理员表
|
|
||||||
type FsAdminUser struct {
|
|
||||||
Id int64 `gorm:"primary_key;default:0;auto_increment;" json:"id"` // 序号
|
|
||||||
DepartmentId *int64 `gorm:"default:0;" json:"department_id"` // 部门
|
|
||||||
RoleId *int64 `gorm:"default:0;" json:"role_id"` // 角色
|
|
||||||
EmployeeId *int64 `gorm:"default:0;" json:"employee_id"` // 员工
|
|
||||||
Type *int64 `gorm:"default:0;" json:"type"` // 类型:1=超级管理员,2=普通管理员
|
|
||||||
Account *string `gorm:"unique_key;default:'';" json:"account"` //
|
|
||||||
Password *string `gorm:"default:'';" json:"password"` //
|
|
||||||
Nickname *string `gorm:"default:'';" json:"nickname"` //
|
|
||||||
Mobile *string `gorm:"default:'';" json:"mobile"` //
|
|
||||||
Email *string `gorm:"default:'';" json:"email"` //
|
|
||||||
Salt *string `gorm:"default:'';" json:"salt"` //
|
|
||||||
LoginInitPassword *string `gorm:"default:'';" json:"login_init_password"` //
|
|
||||||
LoginLastTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"login_last_time"` //
|
|
||||||
LoginLastIp *string `gorm:"default:'';" json:"login_last_ip"` //
|
|
||||||
LoginNum *int64 `gorm:"default:0;" json:"login_num"` // 登录次数
|
|
||||||
Status *int64 `gorm:"default:2;" json:"status"` // 状态:1=启用,2=停用
|
|
||||||
Remark *string `gorm:"default:'';" json:"remark"` //
|
|
||||||
Sort *int64 `gorm:"default:0;" json:"sort"` // 排序权重
|
|
||||||
CreateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"create_time"` //
|
|
||||||
UpdateTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"update_time"` //
|
|
||||||
DeleteTime *time.Time `gorm:"default:'0000-00-00 00:00:00';" json:"delete_time"` //
|
|
||||||
CreateUid *int64 `gorm:"default:0;" json:"create_uid"` // 创建人
|
|
||||||
UpdateUid *int64 `gorm:"default:0;" json:"update_uid"` // 更新人
|
|
||||||
DeleteUid *int64 `gorm:"default:0;" json:"delete_uid"` // 删除人
|
|
||||||
IsDel *int64 `gorm:"default:0;" json:"is_del"` // 是否删除:1=是 0=否
|
|
||||||
RoleIds *string `gorm:"default:'';" json:"role_ids"` //
|
|
||||||
}
|
|
||||||
type FsAdminUserModel struct {
|
|
||||||
db *gorm.DB
|
|
||||||
name string
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewFsAdminUserModel(db *gorm.DB) *FsAdminUserModel {
|
|
||||||
return &FsAdminUserModel{db: db, name: "fs_admin_user"}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
package gmodel
|
|
||||||
// TODO: 使用model的属性做你想做的
|
|
|
@ -4,14 +4,7 @@ import "gorm.io/gorm"
|
||||||
|
|
||||||
// AllModelsGen 所有Model集合,修改单行,只要不改字段名,不会根据新的内容修改,需要修改的话手动删除
|
// AllModelsGen 所有Model集合,修改单行,只要不改字段名,不会根据新的内容修改,需要修改的话手动删除
|
||||||
type AllModelsGen struct {
|
type AllModelsGen struct {
|
||||||
CasbinRule *CasbinRuleModel // casbin_rule 后台--权限规则表
|
|
||||||
FsAddress *FsAddressModel // fs_address 用户地址表
|
FsAddress *FsAddressModel // fs_address 用户地址表
|
||||||
FsAdminApi *FsAdminApiModel // fs_admin_api 后台--接口表
|
|
||||||
FsAdminDepartment *FsAdminDepartmentModel // fs_admin_department 后台--部门表
|
|
||||||
FsAdminMenu *FsAdminMenuModel // fs_admin_menu 后台--菜单表
|
|
||||||
FsAdminRole *FsAdminRoleModel // fs_admin_role 后台--角色表
|
|
||||||
FsAdminRoleApi *FsAdminRoleApiModel // fs_admin_role_api 后台--角色接口表
|
|
||||||
FsAdminUser *FsAdminUserModel // fs_admin_user 后台--管理员表
|
|
||||||
FsAuthAssignment *FsAuthAssignmentModel // fs_auth_assignment 用户角色和权限信息
|
FsAuthAssignment *FsAuthAssignmentModel // fs_auth_assignment 用户角色和权限信息
|
||||||
FsAuthItem *FsAuthItemModel // fs_auth_item 用户角色和权限信息
|
FsAuthItem *FsAuthItemModel // fs_auth_item 用户角色和权限信息
|
||||||
FsAuthItemChild *FsAuthItemChildModel // fs_auth_item_child 角色和权限关系表
|
FsAuthItemChild *FsAuthItemChildModel // fs_auth_item_child 角色和权限关系表
|
||||||
|
@ -31,7 +24,6 @@ type AllModelsGen struct {
|
||||||
FsCloudReceiveEveryOld *FsCloudReceiveEveryOldModel // fs_cloud_receive_every_old
|
FsCloudReceiveEveryOld *FsCloudReceiveEveryOldModel // fs_cloud_receive_every_old
|
||||||
FsCloudReceiveOld *FsCloudReceiveOldModel // fs_cloud_receive_old 云仓接收工厂总单
|
FsCloudReceiveOld *FsCloudReceiveOldModel // fs_cloud_receive_old 云仓接收工厂总单
|
||||||
FsCloudRenderLog *FsCloudRenderLogModel // fs_cloud_render_log 云渲染日志表
|
FsCloudRenderLog *FsCloudRenderLogModel // fs_cloud_render_log 云渲染日志表
|
||||||
FsCloudRenderLogOld *FsCloudRenderLogOldModel // fs_cloud_render_log_old 云渲染日志表
|
|
||||||
FsCloudStorage *FsCloudStorageModel // fs_cloud_storage 仓库的基本信息, 只做映射
|
FsCloudStorage *FsCloudStorageModel // fs_cloud_storage 仓库的基本信息, 只做映射
|
||||||
FsCloudStorageStock *FsCloudStorageStockModel // fs_cloud_storage_stock
|
FsCloudStorageStock *FsCloudStorageStockModel // fs_cloud_storage_stock
|
||||||
FsCloudUserApplyBackOld *FsCloudUserApplyBackOldModel // fs_cloud_user_apply_back_old 该表废弃
|
FsCloudUserApplyBackOld *FsCloudUserApplyBackOldModel // fs_cloud_user_apply_back_old 该表废弃
|
||||||
|
@ -69,8 +61,6 @@ type AllModelsGen struct {
|
||||||
FsOrderRemarkOld *FsOrderRemarkOldModel // fs_order_remark_old 订单备注表
|
FsOrderRemarkOld *FsOrderRemarkOldModel // fs_order_remark_old 订单备注表
|
||||||
FsOrderTrade *FsOrderTradeModel // fs_order_trade 订单交易表
|
FsOrderTrade *FsOrderTradeModel // fs_order_trade 订单交易表
|
||||||
FsOrderTradeEvent *FsOrderTradeEventModel // fs_order_trade_event 订单交易事件表
|
FsOrderTradeEvent *FsOrderTradeEventModel // fs_order_trade_event 订单交易事件表
|
||||||
FsPay *FsPayModel // fs_pay 支付记录
|
|
||||||
FsPayEvent *FsPayEventModel // fs_pay_event 支付回调事件日志
|
|
||||||
FsPreprocessLogo *FsPreprocessLogoModel // fs_preprocess_logo logo数据表
|
FsPreprocessLogo *FsPreprocessLogoModel // fs_preprocess_logo logo数据表
|
||||||
FsProduct *FsProductModel // fs_product 产品表
|
FsProduct *FsProductModel // fs_product 产品表
|
||||||
FsProductCollection *FsProductCollectionModel // fs_product_collection 产品收藏表
|
FsProductCollection *FsProductCollectionModel // fs_product_collection 产品收藏表
|
||||||
|
@ -90,7 +80,7 @@ type AllModelsGen struct {
|
||||||
FsProductTemplateBasemap *FsProductTemplateBasemapModel // fs_product_template_basemap 模板底图表
|
FsProductTemplateBasemap *FsProductTemplateBasemapModel // fs_product_template_basemap 模板底图表
|
||||||
FsProductTemplateElement *FsProductTemplateElementModel // fs_product_template_element 云渲染配置表
|
FsProductTemplateElement *FsProductTemplateElementModel // fs_product_template_element 云渲染配置表
|
||||||
FsProductTemplateTags *FsProductTemplateTagsModel // fs_product_template_tags 模板标签表
|
FsProductTemplateTags *FsProductTemplateTagsModel // fs_product_template_tags 模板标签表
|
||||||
FsProductTemplateV2 *FsProductTemplateV2Model // fs_product_template_v2 产品-模型-模板表
|
FsProductTemplateV2 *FsProductTemplateV2Model // fs_product_template_v2 产品-模型- 模板表
|
||||||
FsProductV2Tmp *FsProductV2TmpModel // fs_product_v2_tmp 产品表
|
FsProductV2Tmp *FsProductV2TmpModel // fs_product_v2_tmp 产品表
|
||||||
FsQrcode *FsQrcodeModel // fs_qrcode
|
FsQrcode *FsQrcodeModel // fs_qrcode
|
||||||
FsQrcodeLog *FsQrcodeLogModel // fs_qrcode_log 二维码扫描日志
|
FsQrcodeLog *FsQrcodeLogModel // fs_qrcode_log 二维码扫描日志
|
||||||
|
@ -113,7 +103,6 @@ type AllModelsGen struct {
|
||||||
FsTrade *FsTradeModel // fs_trade
|
FsTrade *FsTradeModel // fs_trade
|
||||||
FsUser *FsUserModel // fs_user 用户表
|
FsUser *FsUserModel // fs_user 用户表
|
||||||
FsUserDebug *FsUserDebugModel // fs_user_debug 用户debug
|
FsUserDebug *FsUserDebugModel // fs_user_debug 用户debug
|
||||||
FsUserDesign *FsUserDesignModel // fs_user_design 废弃表
|
|
||||||
FsUserInfo *FsUserInfoModel // fs_user_info 用户信息表
|
FsUserInfo *FsUserInfoModel // fs_user_info 用户信息表
|
||||||
FsUserMaterial *FsUserMaterialModel // fs_user_material 用户素材表
|
FsUserMaterial *FsUserMaterialModel // fs_user_material 用户素材表
|
||||||
FsUserStock *FsUserStockModel // fs_user_stock 用户云仓库存
|
FsUserStock *FsUserStockModel // fs_user_stock 用户云仓库存
|
||||||
|
@ -124,14 +113,7 @@ type AllModelsGen struct {
|
||||||
|
|
||||||
func NewAllModels(gdb *gorm.DB) *AllModelsGen {
|
func NewAllModels(gdb *gorm.DB) *AllModelsGen {
|
||||||
models := &AllModelsGen{
|
models := &AllModelsGen{
|
||||||
CasbinRule: NewCasbinRuleModel(gdb),
|
|
||||||
FsAddress: NewFsAddressModel(gdb),
|
FsAddress: NewFsAddressModel(gdb),
|
||||||
FsAdminApi: NewFsAdminApiModel(gdb),
|
|
||||||
FsAdminDepartment: NewFsAdminDepartmentModel(gdb),
|
|
||||||
FsAdminMenu: NewFsAdminMenuModel(gdb),
|
|
||||||
FsAdminRole: NewFsAdminRoleModel(gdb),
|
|
||||||
FsAdminRoleApi: NewFsAdminRoleApiModel(gdb),
|
|
||||||
FsAdminUser: NewFsAdminUserModel(gdb),
|
|
||||||
FsAuthAssignment: NewFsAuthAssignmentModel(gdb),
|
FsAuthAssignment: NewFsAuthAssignmentModel(gdb),
|
||||||
FsAuthItem: NewFsAuthItemModel(gdb),
|
FsAuthItem: NewFsAuthItemModel(gdb),
|
||||||
FsAuthItemChild: NewFsAuthItemChildModel(gdb),
|
FsAuthItemChild: NewFsAuthItemChildModel(gdb),
|
||||||
|
@ -151,7 +133,6 @@ func NewAllModels(gdb *gorm.DB) *AllModelsGen {
|
||||||
FsCloudReceiveEveryOld: NewFsCloudReceiveEveryOldModel(gdb),
|
FsCloudReceiveEveryOld: NewFsCloudReceiveEveryOldModel(gdb),
|
||||||
FsCloudReceiveOld: NewFsCloudReceiveOldModel(gdb),
|
FsCloudReceiveOld: NewFsCloudReceiveOldModel(gdb),
|
||||||
FsCloudRenderLog: NewFsCloudRenderLogModel(gdb),
|
FsCloudRenderLog: NewFsCloudRenderLogModel(gdb),
|
||||||
FsCloudRenderLogOld: NewFsCloudRenderLogOldModel(gdb),
|
|
||||||
FsCloudStorage: NewFsCloudStorageModel(gdb),
|
FsCloudStorage: NewFsCloudStorageModel(gdb),
|
||||||
FsCloudStorageStock: NewFsCloudStorageStockModel(gdb),
|
FsCloudStorageStock: NewFsCloudStorageStockModel(gdb),
|
||||||
FsCloudUserApplyBackOld: NewFsCloudUserApplyBackOldModel(gdb),
|
FsCloudUserApplyBackOld: NewFsCloudUserApplyBackOldModel(gdb),
|
||||||
|
@ -189,8 +170,6 @@ func NewAllModels(gdb *gorm.DB) *AllModelsGen {
|
||||||
FsOrderRemarkOld: NewFsOrderRemarkOldModel(gdb),
|
FsOrderRemarkOld: NewFsOrderRemarkOldModel(gdb),
|
||||||
FsOrderTrade: NewFsOrderTradeModel(gdb),
|
FsOrderTrade: NewFsOrderTradeModel(gdb),
|
||||||
FsOrderTradeEvent: NewFsOrderTradeEventModel(gdb),
|
FsOrderTradeEvent: NewFsOrderTradeEventModel(gdb),
|
||||||
FsPay: NewFsPayModel(gdb),
|
|
||||||
FsPayEvent: NewFsPayEventModel(gdb),
|
|
||||||
FsPreprocessLogo: NewFsPreprocessLogoModel(gdb),
|
FsPreprocessLogo: NewFsPreprocessLogoModel(gdb),
|
||||||
FsProduct: NewFsProductModel(gdb),
|
FsProduct: NewFsProductModel(gdb),
|
||||||
FsProductCollection: NewFsProductCollectionModel(gdb),
|
FsProductCollection: NewFsProductCollectionModel(gdb),
|
||||||
|
@ -233,7 +212,6 @@ func NewAllModels(gdb *gorm.DB) *AllModelsGen {
|
||||||
FsTrade: NewFsTradeModel(gdb),
|
FsTrade: NewFsTradeModel(gdb),
|
||||||
FsUser: NewFsUserModel(gdb),
|
FsUser: NewFsUserModel(gdb),
|
||||||
FsUserDebug: NewFsUserDebugModel(gdb),
|
FsUserDebug: NewFsUserDebugModel(gdb),
|
||||||
FsUserDesign: NewFsUserDesignModel(gdb),
|
|
||||||
FsUserInfo: NewFsUserInfoModel(gdb),
|
FsUserInfo: NewFsUserInfoModel(gdb),
|
||||||
FsUserMaterial: NewFsUserMaterialModel(gdb),
|
FsUserMaterial: NewFsUserMaterialModel(gdb),
|
||||||
FsUserStock: NewFsUserStockModel(gdb),
|
FsUserStock: NewFsUserStockModel(gdb),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user