修改用户详情接口传参,增加userId参数,暂时剔除请求401重新登录
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user