@ruiqh
2016-11-07T08:20:49.000000Z
字数 1006
阅读 531
plu.cn
/vip/buy
| 字段 | 类型 | 说明 |
|---|---|---|
| type | int | 会员类型 |
| option | int | 时长 |
{"type":1,"option":1,"code": 0,"message": "操作成功"}
http://userapi.plu.cn/user/getcurrentuserinfo
http://mb.tga.plu.cn/chatroom/joinroom
http://giftapi.plu.cn/chatroom/sendgift
http://roomapicdn.plu.cn/room/roomstatus
http://roomapicdn.plu.cn/room/getdailyrankList
http://roomapicdn.plu.cn/room/getweeklyrankList
路由未定
PluHome.VipInfos| 字段 | 类型 | 说明 |
|---|---|---|
| UserId | int(11) | 用户编号 primary key not null |
| Type | int(3) | 会员类型 not null |
| ExpireTime | DateTime | 过期时间 not null |
| CreateTime | DateTime | 创建时间 not null |
| UpdateTime | DateTime | 更新时间 not null |
| - | - |
|---|---|
| KEY | vip:joinroom:{roomId} |
| SERVER | 未定 |
| TYPE | HASH |
| FIELD | UserId |
| VALUE | 时间戳 |
| REMARK | 用于VIP用户进入房间是否进行入场通知 |
| - | - |
|---|---|
| KEY | vip:info |
| SERVER | 未定 |
| TYPE | HASH |
| FIELD | UserId |
| VALUE | {viptype},{expireTicks} |
| REMARK | 用户VIP信息 |
type| 值 | 说明 |
|---|---|
| 1 | 白银 |
| 2 | 黄金 |
| 3 | 白金 |
| 4 | 钻石 |
option| 值 | 说明 |
|---|---|
| 1 | 30天 |
| 2 | 100天 |
| 3 | 210天 |
| 4 | 450天 |
var vipConfig=null; // 代表无VIPvar vipConfig = {type:1 //vip类型expireTime: '2016-11-13' //到期时间duration: 12 //有效期};