修改上传头像url
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const token = uni.getStorageSync('loginToken')
|
const token = uni.getStorageSync('loginToken')
|
||||||
const a = uni.uploadFile({
|
const a = uni.uploadFile({
|
||||||
url: apiService.uploadImgUrl + '/upload/image/',
|
url: apiService.uploadImgUrl,
|
||||||
filePath: filePath,
|
filePath: filePath,
|
||||||
name: 'file',
|
name: 'file',
|
||||||
header: {
|
header: {
|
||||||
|
|||||||
Reference in New Issue
Block a user