feat: 音色管理
This commit is contained in:
@@ -13,7 +13,7 @@ type ProgramService struct{}
|
||||
|
||||
// GetProgramList 获取节目列表
|
||||
func (s *ProgramService) GetProgramList(info radioReq.GetProgramList) ([]radio.RadioProgram, int64, error) {
|
||||
db := global.DB.Model(&radio.RadioProgram{}).Preload("Audio")
|
||||
db := global.DB.Model(&radio.RadioProgram{}).Where("status = ?", 1).Preload("Audio")
|
||||
var list []radio.RadioProgram
|
||||
var total int64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user