修改用户详情接口传参,增加userId参数,暂时剔除请求401重新登录

This commit is contained in:
2025-07-23 11:09:56 +08:00
parent eb2b6c15f2
commit bf3dc320c0
3 changed files with 10 additions and 4 deletions

View File

@@ -1380,7 +1380,10 @@ export default {
this.$http({
url: this.$http.adornUrl(`user/${userId}`),
method: "get",
params: this.$http.adornParams({}),
params: {
...this.$http.adornParams({}),
userId: userId,
},
}).then(({ data }) => {
if (data.code === 0) {
console.log("data", data);

View File

@@ -1311,7 +1311,10 @@
this.$http({
url: this.$http.adornUrl(`user/${userId}`),
method: 'get',
params: this.$http.adornParams({})
params: {
...this.$http.adornParams({}),
userId: userId,
},
}).then(({
data
}) => {