You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.4 KiB
78 lines
1.4 KiB
3 years ago
|
import request from "@/utils/request";
|
||
|
|
||
|
/**
|
||
|
* 完善资料
|
||
|
*/
|
||
|
export function editSelfData(data) {
|
||
|
return request.post("/user/sellerActive", data);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 获取会员管理列表
|
||
|
*/
|
||
|
export function getSellerMembers(data) {
|
||
|
return request.post("/user/sellerMembers", data);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 获取会员管理列表
|
||
|
*/
|
||
|
export function getMembersList(data) {
|
||
|
return request.post("/user/getSellerMembersByLevel");
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 课程添加会员
|
||
|
*/
|
||
|
export function addMembers(data) {
|
||
|
return request.post("/user/addMembers",data);
|
||
|
}
|
||
|
/**
|
||
|
* 获取会员等级列表
|
||
|
*/
|
||
|
export function getMyMemberLevels(data) {
|
||
|
return request.get("/user/getMyMemberLevels");
|
||
|
}
|
||
|
/**
|
||
|
* 获取会员详情
|
||
|
*/
|
||
|
export function getMemberDetail(data) {
|
||
|
return request.post("/user/sellerMembersDetail", data);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 获取课程管理列表
|
||
|
*/
|
||
|
export function sellerCourses(data) {
|
||
|
return request.post("/user/sellerCourses", data);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 获取课程详情
|
||
|
*/
|
||
|
export function getCourseDetail(data) {
|
||
|
return request.get("/user/sellerCoursesDetail?id="+data);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 设置座位
|
||
|
*/
|
||
|
export function setMemberSeat(data) {
|
||
|
return request.post("/user/addMembersCourseSeat",data);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 发送验证码
|
||
|
*/
|
||
|
export function getVerificationCode(data) {
|
||
|
return request.post("/user/getVerificationCode",data);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 获取会员榜单日记
|
||
|
*/
|
||
|
export function myMemberStudylist(data) {
|
||
|
return request.post("/user/myMemberStudylist", data);
|
||
|
}
|