db

package
v0.0.0-...-1edd13b Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(mysqlDSN string)

Init 初始化

func SelectActors

func SelectActors(fid int64, actor_type int64) ([]*entity.Actor, error)

func SelectFilimImages

func SelectFilimImages(movie_id int64) ([]*entity.Image, error)

获取影片剧照

func SelectFilmActorByMid

func SelectFilmActorByMid(mid int64) ([]*entity.FilmActor, error)

func SelectFilmDetail

func SelectFilmDetail(movieId int64) (*entity.Film, error)

获取影片详情

func SelectFilmMessageCidADay

func SelectFilmMessageCidADay(cinemaId, filmId, year, month, day int64) ([]*entity.CinemaFilm, error)

func SelectMHName

func SelectMHName(mhId int64) (string, error)

func SelectTickingFilims

func SelectTickingFilims(status int64) ([]*entity.Film, error)

获取正在上映的电影

Types

This section is empty.

Jump to

Keyboard shortcuts

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