Showing
1 changed file
with
67 additions
and
0 deletions
boxfish-Card/card-学员信息接口
0 → 100644
1 | +### 获取学员身份信息接口 | ||
2 | + | ||
3 | + | ||
4 | +##### 1. 学生端接口 | ||
5 | + | ||
6 | +- URL: {{localhost}}/boxfish-online-card/member/info/getMemberInfo?access_token={{token}} | ||
7 | +- Method: GET | ||
8 | + | ||
9 | +- ResponseBody: | ||
10 | +```java | ||
11 | +public class MemberSummary implements BeanToJson { | ||
12 | + | ||
13 | + private Long userId; | ||
14 | + private MemberTypeEnum memberType; // 学员身份 | ||
15 | + private DateTime expireTimeMember; // 学员过期时间 | ||
16 | + | ||
17 | + private Integer amountClassSvValid; // 外教练习 剩余次数 | ||
18 | + private Integer amountClassSvFinished; // 外教练习 完成次数 | ||
19 | + private DateTime expireTimeClassSv; // 外教练习 过期时间 | ||
20 | + | ||
21 | + private Integer amountClassSv10Valid; // 外教练习 10分钟 剩余次数 | ||
22 | + | ||
23 | + private String expireDescClassSv5; // 外教练习5分钟 过期描述 | ||
24 | + private String expireDescClassSv10; // 外教练习10分钟 过期描述 | ||
25 | + | ||
26 | + private Integer amountExamOral; // 口语考试 剩余次数 | ||
27 | + private DateTime expireTimeExamOral; // 口语考试 过期时间 | ||
28 | + | ||
29 | + private Integer amountOpenCn; // 中教名师课 剩余次数 | ||
30 | + private DateTime expireTimeOpenCn; // 中教名师课 过期时间 | ||
31 | + private String expireDescOpenCn; // 中教名师课 过期描述 | ||
32 | + | ||
33 | + private Integer amountOpenUs; // 外教名师课 剩余次数 | ||
34 | + private DateTime expireTimeOpenUs; // 外教名师课 过期时间 | ||
35 | + private String expireDescOpenUs; // 外教名师课 过期描述 | ||
36 | + | ||
37 | + private Boolean flagPaperV1Auth; // 纸质三件套 权限 | ||
38 | + private DateTime expireTimePaperV1; // 智能三件套 过期时间 | ||
39 | + | ||
40 | + private Long classSmallId; // 小班课ID | ||
41 | + private String classSmallName; // 小班课名称 | ||
42 | + private Integer amountClassSmall; // 小班课数量 | ||
43 | + | ||
44 | + private Integer amountCash; // 剩余奖学金 | ||
45 | + | ||
46 | + // 四会课 弹窗标识 | ||
47 | + private Boolean flagShowTextbookV2Dialog; // 四会课弹窗 显示 | ||
48 | + private String TextbookV2ImageUrl; // 四会课弹窗 图片 | ||
49 | + private String TextbookV2PageUrl; // 四会课显示 网页 | ||
50 | + // 四会课 显示购买入口 | ||
51 | + private Boolean flagShowTextbookV2Purchase; // 四会课购买 入口 | ||
52 | + | ||
53 | + // 精华小学期 标识 | ||
54 | + private Boolean flagShowClassSmall_JH; // 精华小学期 入口 | ||
55 | + | ||
56 | + // BASIC套餐 知识点 | ||
57 | + private Boolean flagUserHasBasic_KNOWLEDGE; // 是否购买 BASIC 套餐 | ||
58 | + private DateTime expireTimeBasic_KNOWLEDGE; // BASIC 套餐过期时间 | ||
59 | + // BASIC套餐 单词 | ||
60 | + private Boolean flagUserHasBasic_WORD; // 是否购买 BASIC 套餐 | ||
61 | + private DateTime expireTimeBasic_WORD; // BASIC 套餐过期时间 | ||
62 | + | ||
63 | + // 四会课 单词 | ||
64 | + private Boolean flagPaperTextbookAuth; // 纸质四会课 权限 | ||
65 | + private DateTime expireTimePaperTextbook; // 纸质四会课 过期时间 | ||
66 | +} | ||
67 | +``` |
-
Please register or login to post a comment