|
@@ -1,5 +1,7 @@
|
|
|
package models
|
|
|
|
|
|
+import "hongze/hongze_yb_en_api/models/english_report_email"
|
|
|
+
|
|
|
type LoginReq struct {
|
|
|
Account string `description:"账号"`
|
|
|
Type int `description:"类型 1:邮箱 2:手机"`
|
|
@@ -30,3 +32,8 @@ type ModifyPwdReq struct {
|
|
|
OldPwd string `description:"旧密码"`
|
|
|
NewPwd string `description:"新密码"`
|
|
|
}
|
|
|
+
|
|
|
+type UserInfo struct {
|
|
|
+ english_report_email.Email
|
|
|
+ LoginToken string
|
|
|
+}
|