mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-03-12 22:50:21 +08:00
15 lines
457 B
JavaScript
15 lines
457 B
JavaScript
/**********************************
|
|
* @Author: Ronnie Zhang
|
|
* @LastEditor: Ronnie Zhang
|
|
* @LastEditTime: 2023/12/05 21:30:03
|
|
* @Email: zclzone@outlook.com
|
|
* Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
|
|
**********************************/
|
|
|
|
import { request } from '@/utils'
|
|
|
|
export default {
|
|
changePassword: (data) => request.post('/auth/password', data),
|
|
updateProfile: (data) => request.patch(`/user/profile/${data.id}`, data),
|
|
}
|