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.
31 lines
707 B
31 lines
707 B
import request from '@/utils/request'
|
|
|
|
// api地址
|
|
const api = {
|
|
courseType: 'course/getCourseType',
|
|
list: 'course/getCourseList',
|
|
retailList: 'retail/retailPayList',
|
|
describe: 'retail/describe',
|
|
submit: 'retail/submit'
|
|
}
|
|
|
|
// 分类
|
|
export const courseType = (param) => {
|
|
return request.get(api.courseType, param)
|
|
}
|
|
// 列表
|
|
export const courseList = (param) => {
|
|
return request.get(api.list, param)
|
|
}
|
|
// 会员列表
|
|
export const retailList = (param) => {
|
|
return request.post(api.retailList, param)
|
|
}
|
|
// 会员全益
|
|
export const describe = (param) => {
|
|
return request.get(api.describe, param)
|
|
}
|
|
// 会员余额支付
|
|
export const submit = (param) => {
|
|
return request.post(api.submit, param)
|
|
}
|
|
|