-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathcommon.go
36 lines (32 loc) · 944 Bytes
/
common.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
package main
type EncryptForm struct {
SourceId int64 `json:"sourceId"`
Type int64 `json:"type"`
EncryptTime int64 `json:"encryptTime"`
}
type GetEncryptTime struct {
Code int `json:"code"`
Msg string `json:"msg"`
Result int64 `json:"result"`
}
type SignInResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Result struct {
TodaySignIn bool `json:"todaySignIn"`
MonthDays int `json:"monthDays"`
MissionPoints int `json:"missionPoints"`
RepayPoints int `json:"repayPoints"`
BackPoints int `json:"backPoints"`
TotalPoints int `json:"totalPoints"`
Notice int `json:"notice"`
RemindStatus int `json:"remindStatus"`
GoTone bool `json:"goTone"`
PointsExpire bool `json:"pointsExpire"`
} `json:"result"`
}
type SendResult struct {
Code int64 `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data"`
}