this.axios.post('/platform/tracking/material/addDo', {
materType: 'img',
matername: this.imgOriginalityName,
appid: this.$route.query.appId,
vimg1: this.vimg1,
vimg2: this.vimg2
}).then((result) => {
let data = result.data
if (!data.code) {
this.$message.success('添加成功')
this.imgOriginalityName = ''
this.vimg1 = ''
this.vimg2 = ''
} else {
this.$message.error('添加失败,请重试')
}
this.imgDisabled = false
}).catch((err) => console.error(err))
Reqplayload
{materType: "img", matername: "222", appid: "23",…}
appid
:
"23"
materType
:
"img"
matername
:
"222"
vimg1
:
"http://192.168.1.111:8080/materialimg/23/3ajusf7lumiiapts2b7h3rkfij.jpg"
vimg2
:
"http://192.168.1.111:8080/materialimg/23/vmr2cgnsp2hf1onfpu6c08n6ta.jpg"