activity_voice.go 364 B

12345678910111213141516
  1. package activity
  2. import (
  3. "hongze/hongze_yb/models/tables/yb_activity_voice"
  4. "log"
  5. )
  6. // GetVoicesByActivity 获取活动录音列表
  7. func GetVoicesByActivity(activityId int) (data []*yb_activity_voice.YbActivityVoice, err error) {
  8. data, err = yb_activity_voice.GetVoicesByActivityId(activityId)
  9. if err != nil {
  10. log.Print(err.Error())
  11. return
  12. }
  13. return
  14. }