datadef.go
1.06 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
package logic
type UserLoginReq struct {
Fromid int `json:"fromid"`
Sharetype int `json:"sharetype"`
}
type UserLoginResp struct {
Code int `json:"code"`
Message string `json:"message"`
Loginday int `json:"loginday"`
Leftads int `json:"leftads"`
Guangold int `json:"guangold"`
}
//**********************************************************************************************************
type TaskInfo struct {
}
type AchieveMentInfo struct {
}
//玩家数据
type UserData struct {
Userid int //玩家id
Lv int //玩家当前等级
Exp int //玩家当前经验值
GuanGold int //玩家存钱罐中金币数量
RealGold int //玩家实际金币数量(可用于提现的)
WatchAddsTime int //当天观看激励视频次数
LastLoginTime int //上次登陆时间
ContinueLoginDay int //连续登录天数
GetFromGuanCnt int //当天从存钱款提取金币次数
Task TaskInfo //玩家任务完成相关信息
Achieve AchieveMentInfo //玩家成就完成相关数据
}