123456789101112131415 |
- package voice_section
- import "hongze/hongze_yb/global"
- // GetVoiceSection 查询所有语音播报章节
- func GetVoiceSection() (list []*VoiceSection, err error) {
- err = global.DEFAULT_MYSQL.Find(&list).Error
- return
- }
- // GetVoiceSection 查询所有语音播报章节
- func GetVoiceVariety() (list []*VoiceSection, err error) {
- err = global.DEFAULT_MYSQL.Group("variety_id").Find(&list).Error
- return
- }
|