...
|
...
|
@@ -102,12 +102,12 @@ const getPayCod = (param) => { |
|
|
|
|
|
if (result && result[0]) {
|
|
|
_.forEach(result[0], function(val) {
|
|
|
if (val.template_name == 'single_image') {
|
|
|
if (val.template_name === 'single_image') {
|
|
|
resu.banner = val;
|
|
|
} else if (val.template_name == 'text') {
|
|
|
} else if (val.template_name === 'text') {
|
|
|
resu.prompt = val.data;
|
|
|
}
|
|
|
})
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if (result && result[1]) {
|
...
|
...
|
@@ -148,13 +148,12 @@ const getPayAli = (param) => { |
|
|
|
|
|
if (result && result[0]) {
|
|
|
_.forEach(result[0], function(val) {
|
|
|
if (val.template_name == 'single_image') {
|
|
|
if (val.template_name === 'single_image') {
|
|
|
resu.banner = val;
|
|
|
} else if (val.template_name == 'text') {
|
|
|
} else if (val.template_name === 'text') {
|
|
|
resu.prompt = val.data;
|
|
|
}
|
|
|
})
|
|
|
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if (result && result[1]) {
|
...
|
...
|
|