...
|
...
|
@@ -19,7 +19,7 @@ const editorialList = params => { |
|
|
let finalResult = {};
|
|
|
|
|
|
return editorialListApi.getEditorialListData(params).then(result => {
|
|
|
if (result.data.list) {
|
|
|
if (result.data && result.data.list) {
|
|
|
Object.assign(finalResult, {
|
|
|
data: {
|
|
|
list: result.data.list.artList,
|
...
|
...
|
@@ -28,7 +28,7 @@ const editorialList = params => { |
|
|
code: 200
|
|
|
});
|
|
|
} else {
|
|
|
logger.error('getEitorialListData api no result.data');
|
|
|
logger.error('getEitorialListData api no data');
|
|
|
}
|
|
|
|
|
|
return camelCase(finalResult);
|
...
|
...
|
|