db

package
v0.0.0-...-eae8b6f Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 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 SelectActorNameByMid

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

获取演员信息

func SelectCinemaByCid

func SelectCinemaByCid(cinemaId int64) (*entity.Cinema, error)

func SelectCinemasByLid

func SelectCinemasByLid(locationId int64) ([]*entity.Cinema, error)

func SelectFilmMesage

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

获取影片详情

func SelectMHAddress

func SelectMHAddress(mhId int64) (string, error)

func SelectMidByCid

func SelectMidByCid(cinemaId int64, year int64, month int64, day int64) ([]int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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