Skip to content

Commit bea6f08

Browse files
committed
Update: /api/v1/user
1 parent 330a30e commit bea6f08

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/api/v1/user.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ data {
7575
phone: "12312312300" // 手机号
7676
email: "123@123.com" // 邮箱
7777
coin: 123 // 金币数
78+
is_vip: 0 // 是否为VIP
7879
vip_expired_time: 1231231230 // VIP过期时间
7980
invitation_code: "123" // 邀请码
8081
}
@@ -96,6 +97,7 @@ message info {
9697
string phone = 6; // 手机号
9798
string email = 7; // 邮箱
9899
double coin = 8; // 金币数
100+
int32 is_vip = 9; // 是否为VIP
99101
uint64 vip_expired_time = 10; // VIP过期时间
100102
string invitation_code = 12; // 邀请码
101103
}
@@ -154,6 +156,7 @@ data {
154156
register_time: "1234-12-12 12:12:12" // 注册时间(YYYY-MM-DD hh:mm:ss)
155157
online_day: 123 // 在线时长
156158
continuous_online_day: 123 // 连续在线时长
159+
is_vip: 1 // 是否为VIP
157160
vip_expired_time: 123 // vip的unix时间戳
158161
}
159162
```
@@ -182,6 +185,7 @@ message get_user {
182185
string register_time = 7; // 注册时间,格式: YYYY-MM-DD hh:mm:ss
183186
uint64 online_day = 11; // 在线天数
184187
uint64 continuous_online_day = 12; // 连续在线天数
188+
int32 is_vip = 13; // 是否为vip
185189
uint64 vip_expired_time = 14; // VIP过期时间(时间戳)
186190
}
187191
}

0 commit comments

Comments
 (0)