Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppRepository ¶
type AppRepository struct { ApiRepository *logic.ApiRepository //api路由 ArticleRepository *logic.ArticleRepository //文章 CasbinRuleRepository *logic.CasbinRuleRepository //casbin_rule MenuRepository *logic.MenuRepository //菜单 RoleRepository *logic.RoleRepository //角色 RoleApiRepository *logic.RoleApiRepository //角色-api关联 RoleMenuRepository *logic.RoleMenuRepository //角色-菜单关联 UserAccountRepository *logic.UserAccountRepository //用户登录信息 UserInformationRepository *logic.UserInformationRepository //用户信息 UserLoginHistoryRepository *logic.UserLoginHistoryRepository //用户登录历史 UserOauthRepository *logic.UserOauthRepository //第三方登录信息 UserRoleRepository *logic.UserRoleRepository //用户-角色关联 CategoryRepository *logic.CategoryRepository //文章分类 FriendLinkRepository *logic.FriendLinkRepository //文章分类 TagRepository *logic.TagRepository //文章标签 PageRepository *logic.PageRepository //页面 CommentRepository *logic.CommentRepository //评论 PhotoRepository *logic.PhotoRepository //照片 PhotoAlbumRepository *logic.PhotoAlbumRepository //相册 TalkRepository *logic.TalkRepository //说说 ArticleTagRepository *logic.ArticleTagRepository //文章标签映射 UploadRepository *logic.UploadRepository //文件上传 // contains filtered or unexported fields }
对应go-zero rpc层服务
func NewRepository ¶
func NewRepository(svcCtx *svc.RepositoryContext) *AppRepository
Click to show internal directories.
Click to hide internal directories.