response.go 732 B

1234567891011121314151617181920212223242526272829
  1. package model
  2. type APIError struct {
  3. ErrorCode int `json:"errorCode"`
  4. ErrorMessage string `json:"message"`
  5. }
  6. type APIOK struct {
  7. Code int `json:"code"`
  8. Message string `json:"message"`
  9. Data interface{} `json:"data"`
  10. }
  11. type APIRET struct {
  12. Ret bool `json:"result"`
  13. }
  14. type APICOUNT struct {
  15. Ret int64 `json:"result"`
  16. }
  17. type CoreShowChannelResVO struct {
  18. CallerIDName string `json:"callerIDName"`
  19. CallerIDNum string `json:"callerIDNumber"`
  20. Channel string `json:"channel"`
  21. ConnectedLineName string `json:"connectedLineName"`
  22. ConnectedLineNum string `json:"connectedLineNumber"`
  23. Duration string `json:"duration"`
  24. DurationSecond int `json:"durationSecond"`
  25. }