Documentation ¶
Index ¶
- type PushConfRepository
- func (this *PushConfRepository) CleanPushCfg(db *gorm.DB, maps interface{}) error
- func (this *PushConfRepository) CreatePushCfg(db *gorm.DB, appPkgName, platform, confJson string) error
- func (this *PushConfRepository) DeletePushCfg(db *gorm.DB, maps interface{}) error
- func (this *PushConfRepository) EditPushCfg(db *gorm.DB, appPkgName, platform string, data interface{}) error
- func (this *PushConfRepository) GetPushCfg(db *gorm.DB, maps interface{}) (*push_conf_mysql.PushCfg, error)
- func (this *PushConfRepository) GetPushCfgTotal(db *gorm.DB, maps interface{}) (int, error)
- func (this *PushConfRepository) GetPushCfgs(db *gorm.DB, pageNum, pageSize int, maps interface{}) ([]*push_conf_mysql.PushCfg, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushConfRepository ¶
type PushConfRepository struct{}
func New ¶
func New() *PushConfRepository
func (*PushConfRepository) CleanPushCfg ¶
func (this *PushConfRepository) CleanPushCfg(db *gorm.DB, maps interface{}) error
物理删除
func (*PushConfRepository) CreatePushCfg ¶
func (this *PushConfRepository) CreatePushCfg(db *gorm.DB, appPkgName, platform, confJson string) error
func (*PushConfRepository) DeletePushCfg ¶
func (this *PushConfRepository) DeletePushCfg(db *gorm.DB, maps interface{}) error
func (*PushConfRepository) EditPushCfg ¶
func (this *PushConfRepository) EditPushCfg(db *gorm.DB, appPkgName, platform string, data interface{}) error
func (*PushConfRepository) GetPushCfg ¶
func (this *PushConfRepository) GetPushCfg(db *gorm.DB, maps interface{}) (*push_conf_mysql.PushCfg, error)
func (*PushConfRepository) GetPushCfgTotal ¶
func (this *PushConfRepository) GetPushCfgTotal(db *gorm.DB, maps interface{}) (int, error)
func (*PushConfRepository) GetPushCfgs ¶
func (this *PushConfRepository) GetPushCfgs(db *gorm.DB, pageNum, pageSize int, maps interface{}) ([]*push_conf_mysql.PushCfg, error)
Click to show internal directories.
Click to hide internal directories.