|
@@ -36,7 +36,7 @@ async function findSameFilterData(product_list,FilterConfig) {
|
|
|
|
|
|
let isGenre = CMD.isGenre(FilterConfig,info.genre)
|
|
let isGenre = CMD.isGenre(FilterConfig,info.genre)
|
|
if(isGenre){
|
|
if(isGenre){
|
|
- await CMD.video_product_material(info)
|
|
|
|
|
|
+ CMD.video_product_material(info)
|
|
}
|
|
}
|
|
Ids.push(info.id)
|
|
Ids.push(info.id)
|
|
}
|
|
}
|
|
@@ -211,7 +211,7 @@ CMD.update_filter_data = async function(FilterConfig,data) {
|
|
// console.log("data.genre:",data.genre,data,isGenre)
|
|
// console.log("data.genre:",data.genre,data,isGenre)
|
|
if(isGenre){
|
|
if(isGenre){
|
|
try{
|
|
try{
|
|
- await CMD.video_product_material(data)
|
|
|
|
|
|
+ CMD.video_product_material(data)
|
|
}catch(e){
|
|
}catch(e){
|
|
console.log("video_product_material error:",e)
|
|
console.log("video_product_material error:",e)
|
|
}
|
|
}
|
|
@@ -303,7 +303,7 @@ CMD.video_product_material = async function(data){
|
|
title: data.title,
|
|
title: data.title,
|
|
yun_fabu_time:data.publish_time
|
|
yun_fabu_time:data.publish_time
|
|
}))
|
|
}))
|
|
- return await axios.post(url, formData, {
|
|
|
|
|
|
+ axios.post(url, formData, {
|
|
headers: {
|
|
headers: {
|
|
'Content-Type': 'multipart/form-data'
|
|
'Content-Type': 'multipart/form-data'
|
|
}
|
|
}
|