/
do.go
113 lines (99 loc) · 1.54 KB
/
do.go
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
package biz
import (
"time"
)
type User struct {
Uuid string
Phone string
Email string
Qq string
Wechat string
Gitee int32
Github int32
Password string
}
type Profile struct {
Created string
Updated string
Uuid string
Username string
Avatar string
School string
Company string
Job string
Homepage string
Github string
Gitee string
Introduce string
}
type UserSearch struct {
Uuid string
Username string
Introduce string
}
//easyjson:json
type ProfileUpdate struct {
Profile
Mode string
Status int32
}
type Github struct {
Token string
Avatar string
Register bool
Uuid string
}
type Credentials struct {
TmpSecretID string
TmpSecretKey string
SessionToken string
StartTime int64
ExpiredTime int64
}
type Follow struct {
Id int32
Update time.Time
Follow string
Followed string
Status int32
}
type Follows struct {
Uuid string
Follow int32
}
//easyjson:json
type ImageReview struct {
Id int32
CreateAt string
Uuid string
JobId string
Url string
Label string
Result int32
Category string
SubLabel string
Mode string
Score int32
}
//easyjson:json
type UserSearchMap struct {
Username string
Introduce string
}
//easyjson:json
type ProfileUpdateMap struct {
Username string
Introduce string
}
//easyjson:json
type SendUserStatisticMap struct {
Follow string
Followed string
Mode string
}
//easyjson:json
type SetFollowMap struct {
Uuid string
UserId string
Mode string
}