提交 5e06ddc7 authored 作者: lihuihui's avatar lihuihui

update

上级 50ea3e65
......@@ -4,21 +4,21 @@ import httpRequest from './base_api'
* 发送验证码
*/
export function sendCode(data) {
return httpRequest.post('/api/usercenter/user/send-code', data)
return httpRequest.post('https://project-api.ezijing.com/api/usercenter/user/send-code', data)
}
/**
* 检验验证码
*/
export function checkCode(params) {
return httpRequest.get('/api/usercenter/user/check-code' + params)
return httpRequest.get('https://project-api.ezijing.com/api/usercenter/user/check-code' + params)
}
/**
* 提交留咨信息
*/
export function postNes(obj) {
return httpRequest.post('/api/new-app/v1.0/applications', obj, {
return httpRequest.post('https://project-api.ezijing.com/api/new-app/v1.0/applications', obj, {
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
})
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论