media.go 670 B

1234567891011121314151617181920212223242526
  1. package response
  2. import (
  3. "eta/eta_mini_crm_ht/models"
  4. "eta/eta_mini_crm_ht/utils/oss"
  5. "github.com/rdlucklib/rdluck_tools/paging"
  6. )
  7. type MediaListResp struct {
  8. List []*models.MediaView
  9. Paging *paging.PagingItem `description:"分页数据"`
  10. }
  11. type MessageMediaListResp struct {
  12. List []*models.MessageMedia
  13. Paging *paging.PagingItem `description:"分页数据"`
  14. }
  15. type MediaUploadResp struct {
  16. FileName string `description:"上传文件名称"`
  17. Url string `description:"上传文件URL"`
  18. DurationMillisecond int `description:"时长"`
  19. }
  20. type MinioSignResp struct {
  21. oss.OssToken
  22. //Sign string `description:"上传签名"`
  23. }