第一次提交
This commit is contained in:
14
websoft/api/user.js
Normal file
14
websoft/api/user.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import http from './index.js';
|
||||
|
||||
// 获取用户资料
|
||||
export const getUser = (params) => http.get('/auth/user', {params})
|
||||
|
||||
// 修改用户资料
|
||||
export const updateUser = (data) => http.post('/open/login-alipay/update', data)
|
||||
|
||||
|
||||
|
||||
export default {
|
||||
getUser,
|
||||
updateUser
|
||||
}
|
||||
Reference in New Issue
Block a user