request_user.go 591 B

1234567891011121314151617181920212223242526
  1. package ups_sdk
  2. type RegisterUserRequest struct {
  3. UserName string `json:"userName"`
  4. Password string `json:"password"`
  5. }
  6. type IdentifyRequest struct {
  7. UserName string `json:"userName"`
  8. Password string `json:"password"`
  9. }
  10. type UpdateUserUserNameRequest struct {
  11. OldUserName string `json:"oldUserName"`
  12. NewUserName string `json:"newUserName"`
  13. }
  14. type UpdateUserPasswordRequest struct {
  15. UserName string `json:"userName"`
  16. NewPassword string `json:"newPassword"`
  17. }
  18. type MergeUserRequest struct {
  19. FromUserName string `json:"fromUserName"`
  20. ToUserName string `json:"toUserName"`
  21. }