123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- // const API_BASE = 'https://xinghuolanqiu.com/newApi'
- //const API_BASE = 'http://192.168.1.126:30000'
- //const API_BASE = 'http://www.jihengcc.cn:17080/newApi'
- //const API_BASE = 'http://192.168.1.117:8089'
- // const API_BASE = 'http://192.168.1.109/newApi'
- // const API_BASE = 'http://192.168.1.145/newApi'
- // const API_BASE = 'http://starfire.jihengcc.cn/newApi'
- //const API_BASE = 'https://starfire.jihengcc.cn/newApi'
- let API_BASE = 'https://starfire.jihengcc.cn/newApi'
- if(Date.parse(new Date())>1660190400000){
- API_BASE = 'https://xinghuolanqiu.com/newApi'
- }
- // const API_BASE = 'http://192.168.1.126:30000'
- // const API_BASE = 'http://192.168.1.117:8089'
- module.exports = {
- // 微信授权登录
- wxLogin: API_BASE + '/v2/coach/login/wxLogin',
- // 账号密码登录
- loginByPassword: API_BASE + '/v2/coach/login/login',
-
-
- // 提交补课表单
- submitExtraLessonsForm: API_BASE + '/v2/sale/class/extraLessonsSubmit',
- // 获取补课学员列表
- getExtraLessonsStudentList: API_BASE + '/v2/sale/class/extraLessonsStudentList',
- // 获取我的班级列表
- getClassList: API_BASE + '/v2/sale/class/getClassList',
- // 获取场馆列表列表
- getVenueList: API_BASE + '/v2/sale/class/getVenueList',
- // 获取我的排班列表
- getTimetableList: API_BASE + '/v2/sale/class/getClassSort',
- // 提交新建班级表单
- submitClassForm: API_BASE + '/v2/sale/class/create',
- // 获取班级详情
- getClassDetail: API_BASE + '/v2/sale/class/getDetail',
- // 班级信息修改
- classUpdate: API_BASE + '/v2/sale/class/update',
- // 班级删除
- deleteById: API_BASE + '/v2/sale/class/deleteById',
- // 获取班级近况
- getClassDetailShowList: API_BASE + '/v2/sale/class/getClassDetailShowList',
- // 教练近况发布
- insertClassShow: API_BASE + '/v2/sale/class/insertClassShow',
- // 教练近况删除
- deleteClassShow: API_BASE + '/v2/sale/class/deleteClassShow',
- // 获取学员详情
- getStudentDetail: API_BASE + '/v2/sale/class/getStudentDetail',
- // 提交历程表单
- submitCourseForm: API_BASE + '/v2/sale/class/addGrow',
- // 获取本课程学员列表
- getSignStudentList: API_BASE + '/v2/sale/class/getSignStudentList',
- // 获取非本课程学员列表
- getOtherSignStudentList: API_BASE + '/v2/sale/class/getOtherSignStudentList',
- // 获取班级修改详情
- findById: API_BASE + '/v2/sale/class/findById',
- // 提交签到表单
- submitSignForm: API_BASE + '/v2/sale/class/signSubmit',
- // 班级详情->扫码
- classCourseWriteOff: API_BASE + '/v2/sale/class/classCourseWriteOff',
- // 班级详情->请假详情
- leaveLessonsInfo: API_BASE + ' /v2/sale/class/leaveLessonsInfo',
- // 班级详情->续费卡列表
- stuRenewalCardList: API_BASE + ' /v2/sale/class/stuRenewalCardList',
- // 班级详情->续费卡->确认
- openRenewalCard: API_BASE + ' /v2/sale/class/openRenewalCard',
- // 班级详情-> 病假结束确认
- leaveLessonsEndOk: API_BASE + '/v2/sale/class/leaveLessonsEndOk',
- // 获取消息通知列表
- getMessageList: API_BASE + '/v2/coach/message/getMessageList',
- // 消息请假同意
- leaveLessonsOk: API_BASE + '/v2/coach/center/leaveLessonsOk',
-
- // 获取我的评价列表
- getEvaluateList: API_BASE + '/v2/coach/center/getRatingList',
- // 获取我的评价详情
- getEvaluateInfo: API_BASE + '/v2/coach/center/getRatingDetail',
- // 教练回复
- setSignRemark: API_BASE + '/v2/class/setSignRemark',
- // 获取我的补课记录列表
- getExtraLessonsList: API_BASE + '/v2/coach/center/getExtraLessonsList',
- // 获取我的请假记录列表
- getLeaveLessonsList: API_BASE + '/v2/coach/center/getLeaveLessonsList',
- // 获取我的续费提醒列表
- getRenewList: API_BASE + '/v2/coach/center/getSignReminderList',
- // 获取我的签到提醒列表
- getSignList: API_BASE + '/v2/coach/center/getRenewalReminderList',
- // 获取我的签到学员详情
- getSignStudentInfo: API_BASE + '/v2/coach/center/getSignStudentList',
- // 获取续费学员沟通记录列表
- getRenewCommunicateList: API_BASE + '/v2/coach/center/getRenewalCommunicateRecordList',
- // 获取签到学员沟通记录列表
- getSignCommunicateList: API_BASE + '/v2/coach/center/getSignCommunicateRecordList',
- // 提交续费学员沟通记录表单
- submitRenewCommunicateForm: API_BASE + '/v2/coach/center/writeRenewalCommunicateRecord',
- // 提交签到学员沟通记录表单
- submitSignCommunicateForm: API_BASE + '/v2/coach/center/writeSignCommunicateRecord',
- // 获取续费率
- getRenewPercent: API_BASE + '/v2/coach/center/getRenewPercent',
- // 获取续费率排名列表
- getRenewRankingList: API_BASE + '/v2/coach/center/getRenewRankingList',
- // 获取签到率
- getSignPercent: API_BASE + '/v2/coach/center/getSignPercent',
- // 获取签到率排名列表
- getSignRankingList: API_BASE + '/v2/coach/center/getSignRankingList',
-
-
- // 获取服务器端图片
- getServerImg: API_BASE + '/download/icon/',
- // 上传地址
- uploadFile: API_BASE + '/v2/common/file/uploadOne',
- }
|