Browse Source

修改上传图片接口

master
liaoxinyu 6 months ago
parent
commit
0082eba51f
  1. 1
      manifest.json
  2. 4
      pages/auth/senior.vue

1
manifest.json

@ -5,6 +5,7 @@
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : 100, "versionCode" : 100,
"transformPx" : false, "transformPx" : false,
"sassImplementationName": "node-sass",
"app-plus" : { "app-plus" : {
"compatible" : { "compatible" : {
"ignoreVersion" : true //trueHBuilderX1.9.0 "ignoreVersion" : true //trueHBuilderX1.9.0

4
pages/auth/senior.vue

@ -89,7 +89,7 @@ export default {
this.uploadPercent = 0; this.uploadPercent = 0;
this.uploadPercentbol = true; this.uploadPercentbol = true;
const uploadTask = uni.uploadFile({ const uploadTask = uni.uploadFile({
url: 'https://seee.bigtchain.com/api/app/uploadImage', url: 'https://skyada.skybtcss.com/api/app/uploadImage',
filePath: chooseImageRes.tempFiles[0].path, filePath: chooseImageRes.tempFiles[0].path,
name: 'image', name: 'image',
header: { header: {
@ -119,7 +119,7 @@ export default {
this.uploadPercent1 = 0; this.uploadPercent1 = 0;
this.uploadPercentbol1 = true; this.uploadPercentbol1 = true;
const uploadTask = uni.uploadFile({ const uploadTask = uni.uploadFile({
url: 'https://seee.bigtchain.com/api/app/uploadImage', url: 'https://skyada.skybtcss.com/api/app/uploadImage',
filePath: chooseImageRes.tempFiles[0].path, filePath: chooseImageRes.tempFiles[0].path,
name: 'image', name: 'image',
header: { header: {

Loading…
Cancel
Save