联调
This commit is contained in:
@@ -16,7 +16,7 @@ function service(options = {}) {
|
||||
});
|
||||
} else {
|
||||
options.header = {
|
||||
Authorization: `Bearer ${token}`
|
||||
Authorization: `${token}`
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -34,7 +34,7 @@ function service(options = {}) {
|
||||
resolved(res.data);
|
||||
} else if(res.data.code != '0000') {
|
||||
uni.showToast({
|
||||
title: resp.message,
|
||||
title: res.data.message,
|
||||
icon: 'none'
|
||||
})
|
||||
resolved(res.data)
|
||||
|
||||
Reference in New Issue
Block a user