Documentation ¶
Overview ¶
*
- 广告-服务类
- @author
- @since 2021/11/15
- @File : ad
*
- 广告位-服务类
- @author
- @since 2021/11/15
- @File : ad_sort
*
- 城市-服务类
- @author
- @since 2021/11/13
- @File : city
*
- 配置-服务类
- @author
- @since 2021/11/13
- @File : config
*
- 配置数据-服务类
- @author
- @since 2021/11/13
- @File : config_data
*
- 用户-服务类
- @author
- @since 2021/11/11
- @File : user
*
- 部门-服务类
- @author
- @since 2021/9/13
- @File : dept
*
- 字典-服务类
- @author
- @since 2021/11/13
- @File : dict
*
- 字典数据-服务类
- @author
- @since 2021/11/13
- @File : dict_data
*
- 演示一管理-服务类
- @author
- @since 2022-04-19
- @File : example
*
- 演示二管理-服务类
- @author
- @since 2022-04-19
- @File : example2
*
- 代码生成器-服务类
- @author
- @since 2021/11/15
- @File : generate
*
- 站点-服务类
- @author
- @since 2021/11/13
- @File : item
*
- 栏目-服务类
- @author
- @since 2021/11/13
- @File : item_cate
*
- 职级管理-服务类
- @author
- @since 2021/8/20
- @File : level
*
- 友链-服务类
- @author
- @since 2021/11/13
- @File : link
*
- 登录-服务类
- @author
- @since 2021/9/7
- @File : login
*
- 登录日志-服务类
- @author
- @since 2021/11/12
- @File : login_log
*
- 会员-服务类
- @author
- @since 2021/11/13
- @File : member
*
- 会员等级-服务类
- @author
- @since 2021/11/13
- @File : member_level
*
- 菜单-服务类
- @author
- @since 2021/9/9
- @File : menu
*
- 通知公告-服务类
- @author
- @since 2021/11/13
- @File : notice
*
- 操作日志-服务类
- @author
- @since 2021/11/12
- @File : oper_log
*
- 岗位-服务类
- @author
- @since 2021/9/10
- @File : position
*
- 角色-服务类
- @author
- @since 2021/9/13
- @File : role
*
- 角色菜单-服务类
- @author
- @since 2021/9/14
- @File : role_menu
*
- 文件上传-服务类
- @author
- @since 2021/11/18
- @File : upload
*
- 用户-服务类
- @author
- @since 2021/11/11
- @File : user
*
- 用户角色-服务类
- @author
- @since 2021/11/12
- @File : user_role
Index ¶
- Variables
- func GenerateController(dataList *common.ArrayList, authorName string, moduleName string, ...) error
- func GenerateDto(dataList *common.ArrayList, authorName string, moduleName string, ...) error
- func GenerateEdit(dataList *common.ArrayList, moduleName string, moduleTitle string) error
- func GenerateIndex(dataList *common.ArrayList, moduleName string, moduleTitle string) error
- func GenerateInfoVo(dataList *common.ArrayList, authorName string, moduleName string, ...) error
- func GenerateJs(dataList *common.ArrayList, authorName string, moduleName string, ...) error
- func GeneratePermission(modelName string, modelTitle string, userId int) error
- func GenerateRouter(dataList *common.ArrayList, authorName string, moduleName string, ...) error
- func GenerateService(dataList *common.ArrayList, authorName string, moduleName string, ...) error
- func GetColumnList(tableName string) (*common.ArrayList, error)
- func LoadTemplate(templateName string, data interface{}, isReplace bool) (string, error)
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var Ad = new(adService)
View Source
var AdSort = new(adSortService)
View Source
var City = new(cityService)
View Source
var Config = new(configService)
View Source
var ConfigData = new(configDataService)
View Source
var Dept = new(deptService)
View Source
var Dict = new(dictService)
View Source
var DictData = new(dictDataService)
View Source
var Example = new(exampleService)
中间件管理服务
View Source
var Example2 = new(example2Service)
中间件管理服务
View Source
var Generate = new(generateService)
中间件管理服务
View Source
var Item = new(itemService)
View Source
var ItemCate = new(itemCateService)
View Source
var Level = new(levelService)
中间件管理服务
View Source
var Link = new(linkService)
View Source
var Login = new(loginService)
中间件管理服务
View Source
var LoginLog = new(loginLogService)
View Source
var Member = new(memberService)
View Source
var MemberLevel = new(memberLevelService)
View Source
var Menu = new(menuService)
中间件管理服务
View Source
var Notice = new(noticeService)
View Source
var OperLog = new(operLogService)
View Source
var Position = new(positionService)
View Source
var Role = new(roleService)
View Source
var RoleMenu = new(roleMenuService)
View Source
var Upload = new(uploadService)
中间件管理服务
View Source
var User = new(userService)
View Source
var UserRole = new(userRoleService)
Functions ¶
func GenerateController ¶
func GenerateController(dataList *common.ArrayList, authorName string, moduleName string, moduleTitle string) error
生成控制器
func GenerateDto ¶
func GenerateDto(dataList *common.ArrayList, authorName string, moduleName string, moduleTitle string) error
生成Dto
func GenerateEdit ¶
生成编辑表单
func GenerateIndex ¶
生成列表页
func GenerateInfoVo ¶
func GenerateInfoVo(dataList *common.ArrayList, authorName string, moduleName string, moduleTitle string) error
生成Vo
func GenerateJs ¶
func GenerateJs(dataList *common.ArrayList, authorName string, moduleName string, moduleTitle string) error
生成模块JS文件
func GeneratePermission ¶
生成菜单和权限
func GenerateRouter ¶
func GenerateRouter(dataList *common.ArrayList, authorName string, moduleName string, moduleTitle string) error
生成路由文件
Types ¶
Source Files ¶
- ad.go
- ad_sort.go
- city.go
- config.go
- config_data.go
- customer.go
- dept.go
- dict.go
- dict_data.go
- example.go
- example2.go
- generate.go
- item.go
- item_cate.go
- level.go
- link.go
- login.go
- login_log.go
- member.go
- member_level.go
- menu.go
- notice.go
- oper_log.go
- position.go
- role.go
- role_menu.go
- upload.go
- user.go
- user_role.go
Click to show internal directories.
Click to hide internal directories.