mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-13 12:56:46 +08:00
2022年5月29日 从svn移到git
This commit is contained in:
24
api/boe/login.js
Normal file
24
api/boe/login.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/**控制台相关的控制数据*/
|
||||
import ajax from '@/api/boe/boeApiAjax.js'
|
||||
|
||||
/**
|
||||
* 退出登录
|
||||
*/
|
||||
const logout = function() {
|
||||
return ajax.postJson('/b1/system/user/logout',{from:'wechat'});
|
||||
}
|
||||
|
||||
/**修改密码
|
||||
* oldPassword:'',
|
||||
* newPassword:'',
|
||||
* confirmPassword:''
|
||||
*/
|
||||
const modifyPassword = function(data) {
|
||||
return ajax.postJson('/b1/system/user/update-password',data);
|
||||
}
|
||||
|
||||
|
||||
export default {
|
||||
logout,
|
||||
modifyPassword
|
||||
}
|
||||
Reference in New Issue
Block a user