base

package
v0.0.0-...-b1f09d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminMenuService

type AdminMenuService struct {
}

func NewAdminMenuService

func NewAdminMenuService() *AdminMenuService

func (*AdminMenuService) Delete

func (s *AdminMenuService) Delete(id int) (int64, error)

删除 单条记录

func (*AdminMenuService) GetAll

func (s *AdminMenuService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AdminMenuService) GetById

func (s *AdminMenuService) GetById(id int) (*models.AdminMenu, error)

获取 单条记录

type AdminRoleAccessService

type AdminRoleAccessService struct {
}

func NewAdminRoleAccessService

func NewAdminRoleAccessService() *AdminRoleAccessService

func (*AdminRoleAccessService) Delete

func (s *AdminRoleAccessService) Delete(id int) (int64, error)

删除 单条记录

func (*AdminRoleAccessService) GetAll

func (s *AdminRoleAccessService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AdminRoleAccessService) GetById

获取 单条记录

type AdminRolePrivService

type AdminRolePrivService struct {
}

func NewAdminRolePrivService

func NewAdminRolePrivService() *AdminRolePrivService

func (*AdminRolePrivService) Delete

func (s *AdminRolePrivService) Delete(id int) (int64, error)

删除 单条记录

func (*AdminRolePrivService) GetAll

func (s *AdminRolePrivService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AdminRolePrivService) GetById

func (s *AdminRolePrivService) GetById(id int) (*models.AdminRolePriv, error)

获取 单条记录

type AdminService

type AdminService struct {
}

func NewAdminService

func NewAdminService() *AdminService

func (*AdminService) Delete

func (s *AdminService) Delete(id int) (int64, error)

删除 单条记录

func (*AdminService) GetAll

func (s *AdminService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AdminService) GetById

func (s *AdminService) GetById(id int) (*models.Admin, error)

获取 单条记录

type AdminStatusService

type AdminStatusService struct {
}

func NewAdminStatusService

func NewAdminStatusService() *AdminStatusService

func (*AdminStatusService) Delete

func (s *AdminStatusService) Delete(id int) (int64, error)

删除 单条记录

func (*AdminStatusService) GetAll

func (s *AdminStatusService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AdminStatusService) GetById

func (s *AdminStatusService) GetById(id int) (*models.AdminStatus, error)

获取 单条记录

type AppService

type AppService struct {
}

func NewAppService

func NewAppService() *AppService

func (*AppService) Delete

func (s *AppService) Delete(id int) (int64, error)

删除 单条记录

func (*AppService) GetAll

func (s *AppService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AppService) GetById

func (s *AppService) GetById(id int) (*models.App, error)

获取 单条记录

type AreaExtService

type AreaExtService struct {
}

func NewAreaExtService

func NewAreaExtService() *AreaExtService

func (*AreaExtService) Delete

func (s *AreaExtService) Delete(id int) (int64, error)

删除 单条记录

func (*AreaExtService) GetAll

func (s *AreaExtService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AreaExtService) GetById

func (s *AreaExtService) GetById(id int) (*models.AreaExt, error)

获取 单条记录

type AreaService

type AreaService struct {
}

func NewAreaService

func NewAreaService() *AreaService

func (*AreaService) Delete

func (s *AreaService) Delete(id int) (int64, error)

删除 单条记录

func (*AreaService) GetAll

func (s *AreaService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AreaService) GetById

func (s *AreaService) GetById(id int) (*models.Area, error)

获取 单条记录

type AttachmentService

type AttachmentService struct {
}

func NewAttachmentService

func NewAttachmentService() *AttachmentService

func (*AttachmentService) Delete

func (s *AttachmentService) Delete(id int) (int64, error)

删除 单条记录

func (*AttachmentService) GetAll

func (s *AttachmentService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*AttachmentService) GetById

func (s *AttachmentService) GetById(id int) (*models.Attachment, error)

获取 单条记录

type CartService

type CartService struct {
}

func NewCartService

func NewCartService() *CartService

func (*CartService) Delete

func (s *CartService) Delete(id int) (int64, error)

删除 单条记录

func (*CartService) GetAll

func (s *CartService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*CartService) GetById

func (s *CartService) GetById(id int) (*models.Cart, error)

获取 单条记录

type CasbinRuleService

type CasbinRuleService struct {
}

func NewCasbinRuleService

func NewCasbinRuleService() *CasbinRuleService

func (*CasbinRuleService) Delete

func (s *CasbinRuleService) Delete(id int) (int64, error)

删除 单条记录

func (*CasbinRuleService) GetAll

func (s *CasbinRuleService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*CasbinRuleService) GetById

func (s *CasbinRuleService) GetById(id int) (*models.CasbinRule, error)

获取 单条记录

type ConnectService

type ConnectService struct {
}

func NewConnectService

func NewConnectService() *ConnectService

func (*ConnectService) Delete

func (s *ConnectService) Delete(id int) (int64, error)

删除 单条记录

func (*ConnectService) GetAll

func (s *ConnectService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*ConnectService) GetById

func (s *ConnectService) GetById(id int) (*models.Connect, error)

获取 单条记录

type GoodsBrandService

type GoodsBrandService struct {
}

func NewGoodsBrandService

func NewGoodsBrandService() *GoodsBrandService

func (*GoodsBrandService) Delete

func (s *GoodsBrandService) Delete(id int) (int64, error)

删除 单条记录

func (*GoodsBrandService) GetAll

func (s *GoodsBrandService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*GoodsBrandService) GetById

func (s *GoodsBrandService) GetById(id int) (*models.GoodsBrand, error)

获取 单条记录

type GoodsCategoryService

type GoodsCategoryService struct {
}

func NewGoodsCategoryService

func NewGoodsCategoryService() *GoodsCategoryService

func (*GoodsCategoryService) Delete

func (s *GoodsCategoryService) Delete(id int) (int64, error)

删除 单条记录

func (*GoodsCategoryService) GetAll

func (s *GoodsCategoryService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*GoodsCategoryService) GetById

func (s *GoodsCategoryService) GetById(id int) (*models.GoodsCategory, error)

获取 单条记录

type GoodsCombinedService

type GoodsCombinedService struct {
}

func NewGoodsCombinedService

func NewGoodsCombinedService() *GoodsCombinedService

func (*GoodsCombinedService) Delete

func (s *GoodsCombinedService) Delete(id int) (int64, error)

删除 单条记录

func (*GoodsCombinedService) GetAll

func (s *GoodsCombinedService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*GoodsCombinedService) GetById

func (s *GoodsCombinedService) GetById(id int) (*models.GoodsCombined, error)

获取 单条记录

type GoodsContentService

type GoodsContentService struct {
}

func NewGoodsContentService

func NewGoodsContentService() *GoodsContentService

func (*GoodsContentService) Delete

func (s *GoodsContentService) Delete(id int) (int64, error)

删除 单条记录

func (*GoodsContentService) GetAll

func (s *GoodsContentService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*GoodsContentService) GetById

func (s *GoodsContentService) GetById(id int) (*models.GoodsContent, error)

获取 单条记录

type GoodsPriceService

type GoodsPriceService struct {
}

func NewGoodsPriceService

func NewGoodsPriceService() *GoodsPriceService

func (*GoodsPriceService) Delete

func (s *GoodsPriceService) Delete(id int) (int64, error)

删除 单条记录

func (*GoodsPriceService) GetAll

func (s *GoodsPriceService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*GoodsPriceService) GetById

func (s *GoodsPriceService) GetById(id int) (*models.GoodsPrice, error)

获取 单条记录

type GoodsService

type GoodsService struct {
}

func NewGoodsService

func NewGoodsService() *GoodsService

func (*GoodsService) Delete

func (s *GoodsService) Delete(id int) (int64, error)

删除 单条记录

func (*GoodsService) GetAll

func (s *GoodsService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*GoodsService) GetById

func (s *GoodsService) GetById(id int) (*models.Goods, error)

获取 单条记录

type GoodsStatisticsService

type GoodsStatisticsService struct {
}

func NewGoodsStatisticsService

func NewGoodsStatisticsService() *GoodsStatisticsService

func (*GoodsStatisticsService) Delete

func (s *GoodsStatisticsService) Delete(id int) (int64, error)

删除 单条记录

func (*GoodsStatisticsService) GetAll

func (s *GoodsStatisticsService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*GoodsStatisticsService) GetById

获取 单条记录

type LogService

type LogService struct {
}

func NewLogService

func NewLogService() *LogService

func (*LogService) Delete

func (s *LogService) Delete(id int) (int64, error)

删除 单条记录

func (*LogService) GetAll

func (s *LogService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*LogService) GetById

func (s *LogService) GetById(id int) (*models.Log, error)

获取 单条记录

type NewsService

type NewsService struct {
}

func NewNewsService

func NewNewsService() *NewsService

func (*NewsService) Delete

func (s *NewsService) Delete(id int) (int64, error)

删除 单条记录

func (*NewsService) GetAll

func (s *NewsService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*NewsService) GetById

func (s *NewsService) GetById(id int) (*models.News, error)

获取 单条记录

type NewsStatisticsService

type NewsStatisticsService struct {
}

func NewNewsStatisticsService

func NewNewsStatisticsService() *NewsStatisticsService

func (*NewsStatisticsService) Delete

func (s *NewsStatisticsService) Delete(id int) (int64, error)

删除 单条记录

func (*NewsStatisticsService) GetAll

func (s *NewsStatisticsService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*NewsStatisticsService) GetById

获取 单条记录

type NewsSyncMappingService

type NewsSyncMappingService struct {
}

func NewNewsSyncMappingService

func NewNewsSyncMappingService() *NewsSyncMappingService

func (*NewsSyncMappingService) Delete

func (s *NewsSyncMappingService) Delete(id int) (int64, error)

删除 单条记录

func (*NewsSyncMappingService) GetAll

func (s *NewsSyncMappingService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*NewsSyncMappingService) GetById

获取 单条记录

type NewsSyncQueueService

type NewsSyncQueueService struct {
}

func NewNewsSyncQueueService

func NewNewsSyncQueueService() *NewsSyncQueueService

func (*NewsSyncQueueService) Delete

func (s *NewsSyncQueueService) Delete(id int) (int64, error)

删除 单条记录

func (*NewsSyncQueueService) GetAll

func (s *NewsSyncQueueService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*NewsSyncQueueService) GetById

func (s *NewsSyncQueueService) GetById(id int) (*models.NewsSyncQueue, error)

获取 单条记录

type NewsTagService

type NewsTagService struct {
}

func NewNewsTagService

func NewNewsTagService() *NewsTagService

func (*NewsTagService) Delete

func (s *NewsTagService) Delete(id int) (int64, error)

删除 单条记录

func (*NewsTagService) GetAll

func (s *NewsTagService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*NewsTagService) GetById

func (s *NewsTagService) GetById(id int) (*models.NewsTag, error)

获取 单条记录

type OrderConsigneeService

type OrderConsigneeService struct {
}

func NewOrderConsigneeService

func NewOrderConsigneeService() *OrderConsigneeService

func (*OrderConsigneeService) Delete

func (s *OrderConsigneeService) Delete(id int) (int64, error)

删除 单条记录

func (*OrderConsigneeService) GetAll

func (s *OrderConsigneeService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*OrderConsigneeService) GetById

获取 单条记录

type OrderExtService

type OrderExtService struct {
}

func NewOrderExtService

func NewOrderExtService() *OrderExtService

func (*OrderExtService) Delete

func (s *OrderExtService) Delete(id int) (int64, error)

删除 单条记录

func (*OrderExtService) GetAll

func (s *OrderExtService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*OrderExtService) GetById

func (s *OrderExtService) GetById(id int) (*models.OrderExt, error)

获取 单条记录

type OrderGoodsService

type OrderGoodsService struct {
}

func NewOrderGoodsService

func NewOrderGoodsService() *OrderGoodsService

func (*OrderGoodsService) Delete

func (s *OrderGoodsService) Delete(id int) (int64, error)

删除 单条记录

func (*OrderGoodsService) GetAll

func (s *OrderGoodsService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*OrderGoodsService) GetById

func (s *OrderGoodsService) GetById(id int) (*models.OrderGoods, error)

获取 单条记录

type OrderGoodsStructureService

type OrderGoodsStructureService struct {
}

func NewOrderGoodsStructureService

func NewOrderGoodsStructureService() *OrderGoodsStructureService

func (*OrderGoodsStructureService) Delete

func (s *OrderGoodsStructureService) Delete(id int) (int64, error)

删除 单条记录

func (*OrderGoodsStructureService) GetAll

func (s *OrderGoodsStructureService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*OrderGoodsStructureService) GetById

获取 单条记录

type OrderService

type OrderService struct {
}

func NewOrderService

func NewOrderService() *OrderService

func (*OrderService) Delete

func (s *OrderService) Delete(id int) (int64, error)

删除 单条记录

func (*OrderService) GetAll

func (s *OrderService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*OrderService) GetById

func (s *OrderService) GetById(id int) (*models.Order, error)

获取 单条记录

type SessionService

type SessionService struct {
}

func NewSessionService

func NewSessionService() *SessionService

func (*SessionService) Delete

func (s *SessionService) Delete(id int) (int64, error)

删除 单条记录

func (*SessionService) GetAll

func (s *SessionService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*SessionService) GetById

func (s *SessionService) GetById(id int) (*models.Session, error)

获取 单条记录

type StockService

type StockService struct {
}

func NewStockService

func NewStockService() *StockService

func (*StockService) Delete

func (s *StockService) Delete(id int) (int64, error)

删除 单条记录

func (*StockService) GetAll

func (s *StockService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*StockService) GetById

func (s *StockService) GetById(id int) (*models.Stock, error)

获取 单条记录

type TagService

type TagService struct {
}

func NewTagService

func NewTagService() *TagService

func (*TagService) Delete

func (s *TagService) Delete(id int) (int64, error)

删除 单条记录

func (*TagService) GetAll

func (s *TagService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*TagService) GetById

func (s *TagService) GetById(id int) (*models.Tag, error)

获取 单条记录

type TemplateService

type TemplateService struct {
}

func NewTemplateService

func NewTemplateService() *TemplateService

func (*TemplateService) Delete

func (s *TemplateService) Delete(id int) (int64, error)

删除 单条记录

func (*TemplateService) GetAll

func (s *TemplateService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*TemplateService) GetById

func (s *TemplateService) GetById(id int) (*models.Template, error)

获取 单条记录

type TypeService

type TypeService struct {
}

func NewTypeService

func NewTypeService() *TypeService

func (*TypeService) Delete

func (s *TypeService) Delete(id int) (int64, error)

删除 单条记录

func (*TypeService) GetAll

func (s *TypeService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*TypeService) GetById

func (s *TypeService) GetById(id int) (*models.Type, error)

获取 单条记录

type UserGroupService

type UserGroupService struct {
}

func NewUserGroupService

func NewUserGroupService() *UserGroupService

func (*UserGroupService) Delete

func (s *UserGroupService) Delete(id int) (int64, error)

删除 单条记录

func (*UserGroupService) GetAll

func (s *UserGroupService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*UserGroupService) GetById

func (s *UserGroupService) GetById(id int) (*models.UserGroup, error)

获取 单条记录

type UserProfileService

type UserProfileService struct {
}

func NewUserProfileService

func NewUserProfileService() *UserProfileService

func (*UserProfileService) Delete

func (s *UserProfileService) Delete(id int) (int64, error)

删除 单条记录

func (*UserProfileService) GetAll

func (s *UserProfileService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*UserProfileService) GetById

func (s *UserProfileService) GetById(id int) (*models.UserProfile, error)

获取 单条记录

type UserService

type UserService struct {
}

func NewUserService

func NewUserService() *UserService

func (*UserService) Delete

func (s *UserService) Delete(id int) (int64, error)

删除 单条记录

func (*UserService) GetAll

func (s *UserService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*UserService) GetById

func (s *UserService) GetById(id int) (*models.User, error)

获取 单条记录

type UserStatusService

type UserStatusService struct {
}

func NewUserStatusService

func NewUserStatusService() *UserStatusService

func (*UserStatusService) Delete

func (s *UserStatusService) Delete(id int) (int64, error)

删除 单条记录

func (*UserStatusService) GetAll

func (s *UserStatusService) GetAll(where []*db.QueryCondition, fields []string, orderBy string, page int, limit int) (*db.Paginator, error)

列表查询

func (*UserStatusService) GetById

func (s *UserStatusService) GetById(id int) (*models.UserStatus, error)

获取 单条记录

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL