Documentation
¶
Index ¶
- type DBLaunchScreen
- func (c *DBLaunchScreen) AddImageListShowTime(ctx context.Context, pictureList *[]model.Picture) error
- func (c *DBLaunchScreen) AddPointTime(ctx context.Context, id int64) error
- func (c *DBLaunchScreen) CreateImage(ctx context.Context, pictureModel *model.Picture) (*model.Picture, error)
- func (c *DBLaunchScreen) DeleteImage(ctx context.Context, id int64) (*model.Picture, error)
- func (c *DBLaunchScreen) GetImageById(ctx context.Context, id int64) (*model.Picture, error)
- func (c *DBLaunchScreen) GetImageByIdList(ctx context.Context, imgIdList *[]int64) (*[]model.Picture, int64, error)
- func (c *DBLaunchScreen) GetImageBySType(ctx context.Context, sType int64) (*[]model.Picture, int64, error)
- func (c *DBLaunchScreen) GetLastImageId(ctx context.Context) (int64, error)
- func (c *DBLaunchScreen) UpdateImage(ctx context.Context, pictureModel *model.Picture) (*model.Picture, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBLaunchScreen ¶
type DBLaunchScreen struct {
// contains filtered or unexported fields
}
func NewDBLaunchScreen ¶
func NewDBLaunchScreen(client *gorm.DB, sf *utils.Snowflake) *DBLaunchScreen
func (*DBLaunchScreen) AddImageListShowTime ¶
func (*DBLaunchScreen) AddPointTime ¶
func (c *DBLaunchScreen) AddPointTime(ctx context.Context, id int64) error
func (*DBLaunchScreen) CreateImage ¶
func (*DBLaunchScreen) DeleteImage ¶
func (*DBLaunchScreen) GetImageById ¶
func (*DBLaunchScreen) GetImageByIdList ¶
func (*DBLaunchScreen) GetImageBySType ¶
func (*DBLaunchScreen) GetLastImageId ¶
func (c *DBLaunchScreen) GetLastImageId(ctx context.Context) (int64, error)
func (*DBLaunchScreen) UpdateImage ¶
Click to show internal directories.
Click to hide internal directories.