数据采集
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
247 B

  1. package md
  2. type LoginReq struct {
  3. UserName string `json:"username" binding:"required" label:"登录账号"`
  4. PassWord string `json:"password" binding:"required" label:"登录密码"`
  5. }
  6. type LoginResponse struct {
  7. Token string `json:"token"`
  8. }