四会课领取后台接口.md
2.02 KB
四会课程 管理后台接口
1. 查询全部领取的信息
- URL: {{localhost}}/boxfish-online-card/order/textbook/manage/getOrderHistory
- Method: POST
- RequestBody:
public static class Request {
// request
private Integer startPage = 0;
private Integer pageSize = 40;
private Long userId;
// exchange packageCode
private String versionCode;
// exchange userId
private String orderName;
private String orderMobile;
private Long invitationCode;
private DateTime orderStartTime;
private DateTime orderEndTime;
}
- ResponseBody
public static class OrderSummary {
private Long id;
private String sourceWxNickName; // 邀请人 昵称
private Long sourceInvitationCode; // 邀请人 邀请码
private Long userId; // 领取人 ID
private String orderMobile; // 领取人 手机号
private String orderName; // 领取人 收货名称
private String orderCode;
private DateTime orderTime;
private String versionGrade;
private String orderProvince;
private String orderCity;
private String orderCounty;
private String orderAddressDetail;
private Boolean flagEnable; // 是否需要邮寄
private Boolean flagPost; // 是否已邮寄
private DateTime postTime; // 邮寄时间
private String obtainType; // 领取方式:WX_MINI_OBTAIN(小程序领取), WX_MINI_SHARE("小程序分享赠送"),MANAGE_OBTAIN("后台领取");
private String courseType; // 课程类型:COURSE_TEXTBOOK_V2_WORD(四会单词课),COURSE_JHXXQ(小学期课)
}
2. 修改邮寄状态接口
- URL: {{localhost}}/boxfish-online-card/order/textbook/manage/updatePostTime
- Method: POST
- RequestBody:
{
"orderCode":"text_orderCode",
"flagPost": "true", // 是否邮寄
"flagEnable": "flagEnable" // 是否需要邮寄
}