上传图片接口增加图片类型和订单号相关入参字段

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-08-09 11:38:45 +08:00
parent 5422bc9145
commit b4ddba6018

View File

@@ -817,8 +817,8 @@ export default {
})
let formdata = new FormData()
formdata.append('imgPath', that.dataURLtoFile(that.file, that.imgName))
// formdata.append('imgType', that.type)
// formdata.append('orderNo', this.$route.query.orderNo)
formdata.append('imgType', that.type)
formdata.append('orderNo', this.$route.query.orderNo)
uploadImg(formdata).then(res=>{
if(res.result == 0 && res.path){
let subBusinessNo = ''