使用Promise
//图片上传
uploadimg:function(a){
var tt = this
return new Promise((resolve, reject) =>{
wx.uploadFile({
filePath: a,
name: 'file',
url: httpsRequest.httpsUrl + resHttp.fileImgIsVideo,
header