From d260e09a00a9e6ff15a468d83bca96a6aa5a037d Mon Sep 17 00:00:00 2001 From: davy Date: Wed, 23 Jul 2025 17:12:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BE=E7=89=87=E5=92=8Cto?= =?UTF-8?q?ken=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/profile/index.js | 12 ++++++------ src/views/template/beer/index.vue | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api/profile/index.js b/src/api/profile/index.js index 428ddb5..9d6a047 100644 --- a/src/api/profile/index.js +++ b/src/api/profile/index.js @@ -1,10 +1,10 @@ import request from '@/utils/request'; /** - * 获取当前登录用户信息 + * 获取当前登录用户信息 - 门店专用接口 */ export async function getUserProfile() { - const res = await request.get('/system/user/profile'); + const res = await request.get('/barmgr/user/profile'); if (res.data.code === 200) { return res.data; } @@ -12,10 +12,10 @@ export async function getUserProfile() { } /** - * 修改当前登录用户信息 + * 修改当前登录用户信息 - 门店专用接口 */ export async function updateUserProfile(data) { - const res = await request.put('/system/user/profile', data); + const res = await request.put('/barmgr/user/profile', data); if (res.data.code === 200) { return res.data.msg; } @@ -23,10 +23,10 @@ export async function updateUserProfile(data) { } /** - * 修改当前登录用户头像 + * 修改当前登录用户头像 - 门店专用接口 */ export async function uploadAvatar(data) { - const res = await request.post('/system/user/profile/avatar', data); + const res = await request.post('/barmgr/user/profile/avatar', data); if (res.data.code === 200) { return res.data; } diff --git a/src/views/template/beer/index.vue b/src/views/template/beer/index.vue index 9e6325a..5c8f70a 100644 --- a/src/views/template/beer/index.vue +++ b/src/views/template/beer/index.vue @@ -26,7 +26,7 @@ style="margin-top: 16px; overflow: hidden; cursor: pointer" >