diff --git a/backend/app/services/other/export/ExportServices.php b/backend/app/services/other/export/ExportServices.php index cc7f79d2f..76246ff0f 100644 --- a/backend/app/services/other/export/ExportServices.php +++ b/backend/app/services/other/export/ExportServices.php @@ -298,7 +298,7 @@ class ExportServices extends BaseService } $one_data = [ 'id' => intval($product_id), - 'store_name' => $productInfo['store_name'], + 'store_name' => $productInfo['name'], 'product_type' => $productTypeNameMap[$productInfo['product_type']] ?? '', 'cate_name_one' => $cate_name_one, 'cate_name_two' => $cate_name_two, @@ -315,9 +315,9 @@ class ExportServices extends BaseService 'volume' => floatval($value['volume'] ?? 0), 'bar_code' => $value['bar_code'] ?? '', 'bar_code_number' => $value['bar_code_number'] ?? '', - 'store_info' => $productInfo['store_info'] ?? '', + 'store_info' => $productInfo['intro'], 'keyword' => $productInfo['keyword'] ?? '', - 'command_word' => $productInfo['command_word'] ?? '', + 'command_word' => '', 'give_integral' => $productInfo['give_integral'] ?? 0, ]; $export[] = $one_data; diff --git a/backend/app/services/product/CenterProductServices.php b/backend/app/services/product/CenterProductServices.php index 4de3b6839..2ea0034f6 100644 --- a/backend/app/services/product/CenterProductServices.php +++ b/backend/app/services/product/CenterProductServices.php @@ -3467,7 +3467,7 @@ class CenterProductServices extends BaseService } $one_data = [ 'id' => intval($product_id), - 'store_name' => $productInfo['store_name'], + 'store_name' => $productInfo['name'], 'product_type' => $productInfo['product_type'] ?? 'normal', 'type_name' => $this->getProductTypeName($productInfo['product_type'] ?? 'normal'), 'cate_name_one' => reset($cateName)['one'] ?? '', @@ -3493,9 +3493,9 @@ class CenterProductServices extends BaseService 'weight' => intval($value['weight'] ?? 0), 'bar_code' => $value['bar_code'] ?? '', 'bar_code_number' => $value['bar_code_number'] ?? '', - 'store_info' => $productInfo['store_info'], + 'store_info' => $productInfo['intro'], 'keyword' => $productInfo['keyword'], - 'command_word' => $productInfo['command_word'], + 'command_word' => '', 'give_integral' => $productInfo['give_integral'], ]; $export[] = $one_data;