mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
25 lines
480 B
JavaScript
25 lines
480 B
JavaScript
/**控制台相关的控制数据*/
|
||
import ajax from '@/api/boe/boeApiAjax.js'
|
||
|
||
/**
|
||
* 退出登录
|
||
*/
|
||
const logout = function() {
|
||
return ajax.postJson('/b1/system/user/logout',{from:'wechat'});
|
||
}
|
||
|
||
/**修改密码,不再使用,已转化为userbasic接口
|
||
* oldPassword:'',
|
||
* newPassword:'',
|
||
* confirmPassword:''
|
||
*/
|
||
const modifyPassword = function(data) {
|
||
return ajax.postJson('/b1/system/user/update-password',data);
|
||
}
|
||
|
||
|
||
export default {
|
||
logout,
|
||
modifyPassword
|
||
}
|