You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
659 B

9 months ago
package response
import "pure/model"
type LoginResponse struct {
User model.User `json:"user"`
Token string `json:"token"`
ExpiresAt int64 `json:"expiresAt"`
}
type TiktokResponse struct {
Data struct {
User model.TiktokUser `json:"user"`
} `json:"data"`
Error struct {
Code string `json:"code"`
Message string `json:"message"`
} `json:"error"`
}
type UserStatistics struct {
CollectionMissionNum int64 `json:"collection_mission_num"` //收藏任务数量
ClaimMissionNum int64 `json:"claim_mission_num"` //领取任务数量
PlatformNum int64 `json:"platform_num"` //认证平台数量
}