第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

20
api/user.js Normal file
View File

@@ -0,0 +1,20 @@
import http from './index.js';
// 获取用户资料
export const getUser = (params) => http.get('/auth/user', {params})
// 修改用户资料
export const updateUser = (data) => http.put('/system/user', data)
export const getMyQrCode = (data) => http.post('/open/user/myQrCode',data)
// 获取用户资料
export const getAgentUser = (id) => http.get('/open/user/agentUser/' + id)
export const updatePassword = (data) => http.put('/auth/password',data)
export default {
getUser,
updateUser,
getMyQrCode,
getAgentUser,
updatePassword
}