Showing
1 changed file
with
68 additions
and
0 deletions
boxfish-Card/Card-getMemberInfo接口.md
0 → 100644
1 | +[](https://996.icu) | ||
2 | + | ||
3 | + | ||
4 | +### 【APP接口】获取学员身份信息接口 | ||
5 | + | ||
6 | +- URL: {{localhost}}/boxfish-online-card/member/info/getMemberInfo?access_token={{token}} | ||
7 | +- Method: GET | ||
8 | + | ||
9 | +- ResponseBody: | ||
10 | + | ||
11 | +```java | ||
12 | +public class MemberSummary implements BeanToJson { | ||
13 | + | ||
14 | + private Long userId; | ||
15 | + private MemberTypeEnum memberType; // 学员身份 | ||
16 | + private DateTime expireTimeMember; // 学员过期时间 | ||
17 | + | ||
18 | + private MemberTypeEnum memberTypeV2; // 新版本用户身份 | ||
19 | + | ||
20 | + private Integer amountClassSvValid; // 外教练习 剩余次数 | ||
21 | + private Integer amountClassSvFinished; // 外教练习 完成次数 | ||
22 | + private DateTime expireTimeClassSv; // 外教练习 过期时间 | ||
23 | + | ||
24 | + private Integer amountClassSv10Valid; // 外教练习 10分钟 剩余次数 | ||
25 | + | ||
26 | + private String expireDescClassSv5; // 外教练习5分钟 过期描述 | ||
27 | + private String expireDescClassSv10; // 外教练习10分钟 过期描述 | ||
28 | + | ||
29 | + private Integer amountExamOral; // 口语考试 剩余次数 | ||
30 | + private DateTime expireTimeExamOral; // 口语考试 过期时间 | ||
31 | + | ||
32 | + private Integer amountOpenCn; // 中教名师课 剩余次数 | ||
33 | + private DateTime expireTimeOpenCn; // 中教名师课 过期时间 | ||
34 | + private String expireDescOpenCn; // 中教名师课 过期描述 | ||
35 | + | ||
36 | + private Integer amountOpenUs; // 外教名师课 剩余次数 | ||
37 | + private DateTime expireTimeOpenUs; // 外教名师课 过期时间 | ||
38 | + private String expireDescOpenUs; // 外教名师课 过期描述 | ||
39 | + | ||
40 | + private Boolean flagPaperV1Auth; // 纸质三件套 权限 | ||
41 | + private DateTime expireTimePaperV1; // 智能三件套 过期时间 | ||
42 | + | ||
43 | + private Long classSmallId; // 小班课ID | ||
44 | + private String classSmallName; // 小班课名称 | ||
45 | + private Integer amountClassSmall; // 小班课数量 | ||
46 | + | ||
47 | + private Integer amountCash; // 剩余奖学金 | ||
48 | + | ||
49 | + private Boolean flagJhxxqAuth; // 精华小学期 使用权限 | ||
50 | + private DateTime expireTimeJhxxq; // 精华小学期 过期时间 | ||
51 | + | ||
52 | + private Boolean flagUserIsPaid; // 用户是否为 付费用户 | ||
53 | + private Boolean flagUserIsPaid_advanced; // 用户是否为 付费用户 advanced advanced相关课程 | ||
54 | + | ||
55 | + // 四会课 单词 | ||
56 | + private Boolean flagPaperTextbookAuth; // 纸质四会课 权限 | ||
57 | + private DateTime expireTimePaperTextbook; // 纸质四会课 过期时间 | ||
58 | + | ||
59 | + // BASIC套餐 知识点 | ||
60 | + private Boolean flagUserHasBasic_KNOWLEDGE; // 是否购买 BASIC 套餐 | ||
61 | + private DateTime expireTimeBasic_KNOWLEDGE; // BASIC 套餐过期时间 | ||
62 | + // BASIC套餐 单词 | ||
63 | + private Boolean flagUserHasBasic_WORD; // 是否购买 BASIC 套餐 | ||
64 | + private DateTime expireTimeBasic_WORD; // BASIC 套餐过期时间 | ||
65 | + | ||
66 | + private Boolean userHasPurchase_speaking; // 用户是否购买 智能练听说 模块权限: 20190731添加字段 | ||
67 | +} | ||
68 | +``` |
-
Please register or login to post a comment