types.go 637 B

123456789101112131415161718192021222324252627
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type Request struct {
  4. Path string `form:"path"`
  5. }
  6. type Response struct {
  7. Path string `json:"path"`
  8. Message string `json:"message"`
  9. }
  10. type CallbackRequest struct {
  11. Path string `json:"path"`
  12. CallbackUrl string `json:"callback_url"` //回调地址
  13. OriginData map[string]string `json:"origin_data"` //透传数据
  14. }
  15. type CallbackResponse struct {
  16. }
  17. type OriginDataResponse struct {
  18. Path string `json:"path"`
  19. Message string `json:"message"`
  20. OriginData map[string]string `json:"origin_data"` //透传数据
  21. }