提交 8088fc80 authored 作者: pengxiaohui's avatar pengxiaohui

修改报名信息提交页

上级 74a93bda
......@@ -6,4 +6,6 @@ export default class ArticleAction {
getArticleDetail (id) { return articleApi.getArticleDetail(id).then(res => res) }
formCommit (data) { return articleApi.formCommit(data).then(res => res) }
getBanner (obj) { return articleApi.getBanner(obj).then(res => res) }
sendCheckedCode (obj) { return articleApi.sendCheckedCode(obj).then(res => res) }
register (obj) { return articleApi.register(obj).then(res => res) }
}
......@@ -7,7 +7,12 @@ export default class ScoreAPI extends BaseAPI {
getArticle = (obj = {}) => this.get('/microservices/api/article/list', obj, {})
// 获取文章详情
getArticleDetail = (id) => this.get(`/microservices/api/article/${id}/info`)
formCommit = (data) => this.post('/microservices/api/form/commit', data)
// formCommit = (data) => this.post('/microservices/api/form/commit', data)
formCommit = (data) => this.post('/microservices/api/apply/teacher-form', data)
// 获取轮播
getBanner = (obj = {}) => this.get('/microservices/api/carousel/list', obj, {})
// 发送验证码
sendCheckedCode = (obj = {}) => this.post('/usercenter/user/send-code', obj)
// 注册
register = (obj = {}) => this.post('/usercenter/user/register', obj)
}
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论