rtx.go 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package oilrtx
  2. //"time"
  3. type RtxMsg struct {
  4. Msg string `json:"msg"`
  5. Receiver string `json:"receiver"`
  6. }
  7. type PtrUser struct {
  8. UserName string `json:"username"`
  9. PassWord string `json:"password"`
  10. }
  11. type Msg struct {
  12. UserName string `json:"UserName"`
  13. ToMobile string `json:"ToMobile"`
  14. Msg string `json:"MSG"`
  15. }
  16. type RtxLogin struct {
  17. Username string `json:"username"`
  18. Password string `json:"password"`
  19. UserDomain string `json:"userDomain"`
  20. }
  21. type RtxRespToken struct {
  22. Code int `json:"code"`
  23. Message string `json:"message"`
  24. Token string `json:"token"`
  25. }
  26. type RtxOrganize struct {
  27. Id string `json:"id"`
  28. OrgCode string `json:"message"`
  29. OrgName string `json:"token"`
  30. OrgShortName string `json:"orgShortName"`
  31. ParentId string `json:"parentId"`
  32. IsInValid string `json:"ISINVALID"`
  33. Remark string `json:"remark"`
  34. Children []RtxOrganize `json:"children"`
  35. }
  36. type RtxOrganizeItems struct {
  37. Items []RtxOrganize `json:"items"`
  38. }