param_auth.go 1.1 KB
package allied_creation_user

//企业注册
type (
	ReqAuthCompanySignUp struct {
		CompanyName      string `json:"companyName"`
		Contacts         string `json:"contacts"`
		IndustryCategory string `json:"industryCategory"`
		Password         string `json:"password"`
		Phone            string `json:"phone"`
		Scale            string `json:"scale"`
	}

	DataAuthCompanySignUp struct {
	}
)

//修改密码
type (
	ReqAuthChangePassword struct {
		NewPassword string `json:"newPassword"`
		OldPassword string `json:"oldPassword"`
		UserId      string `json:"userId"`
	}

	DataAuthChangePassword struct {
	}
)

//手机账号密码检查
type (
	ReqAuthCheckPassword struct {
		Password string `json:"password"`
		Phone    string `json:"phone"`
	}

	DataAuthCheckPassword struct {
		UserId int `json:"userId"`
	}
)

//注销账号 (添加用户时重新激活)
type (
	ReqAuthDestroyAccount struct {
	}

	DataAuthDestroyAccount struct {
	}
)

//重置手机号
type (
	ReqAuthResetPhone  struct{}
	DataAuthResetPhone struct{}
)

//重置密码(忘记密码)
type (
	ReqAuthResetPassword  struct{}
	DataAuthResetPassword struct{}
)