base.go 516 B

1234567891011121314151617181920
  1. package pdd
  2. type ErrorPddResponse struct {
  3. ErrorResponse ErrorResponse `json:"error_response"`
  4. }
  5. type ErrorResponse struct {
  6. ErrorMsg string `json:"error_msg"`
  7. SubMsg string `json:"sub_msg"`
  8. SubCode string `json:"sub_code"`
  9. ErrorCode int `json:"error_code"`
  10. RequestID string `json:"request_id"`
  11. }
  12. type PddDdkBase struct {
  13. ClientId string `json:"client_id"`
  14. Type string `json:"type"`
  15. Timestamp string `json:"timestamp"`
  16. DataType string `json:"data_type"`
  17. Sign string `json:"sign"`
  18. }