mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-03-12 22:50:21 +08:00
init
This commit is contained in:
14
src/views/profile/api.js
Normal file
14
src/views/profile/api.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**********************************
|
||||
* @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),
|
||||
}
|
||||
Reference in New Issue
Block a user