提交 88606ae0 authored 作者: 王鹏飞's avatar 王鹏飞

fix: 修复修改密码报错的问题

上级 d5c41a7d
import BaseAPI from './base_api'
import _ from 'lodash'
export default class OtherAPI extends BaseAPI {
/**
......@@ -39,7 +38,7 @@ export default class OtherAPI extends BaseAPI {
* @param {[string]} obj.service 这里 一直是定值 h5.ezijing.com
*/
updatePwd = (obj = {}) =>
this.post('/api/usercenter/user/change-pwd-by-cookie', _.assignIn(obj, { service: 'h5.ezijing.com' }), {
this.post('/api/usercenter/user/change-pwd-by-cookie', obj, {
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论