2
3

rtx.go 784 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package oilrtx
  2. //"time"
  3. type RtxMsg struct {
  4. Msg string `json:"msg"`
  5. Receiver string `json:"receiver"`
  6. }
  7. type RtxLogin struct {
  8. Username string `json:"username"`
  9. Password string `json:"password"`
  10. UserDomain string `json:"userDomain"`
  11. }
  12. type RtxRespToken struct {
  13. code string `json:"code"`
  14. message string `json:"message"`
  15. token string `json:"token"`
  16. }
  17. type RtxOrganize struct {
  18. Id string `json:"code"`
  19. OrgCode string `json:"message"`
  20. OrgName string `json:"token"`
  21. OrgShortName string `json:"orgShortName"`
  22. ParentId string `json:"parentId"`
  23. IsInValid string `json:"ISINVALID"`
  24. Remark string `json:"remark"`
  25. Children []RtxOrganize `json:"children"`
  26. }
  27. type RtxOrganizeItems struct {
  28. Items []RtxOrganize `json:"items"`
  29. }