param_auth.go
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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{}
)