...
|
...
|
@@ -317,12 +317,14 @@ class ReturnsModel |
|
|
|
|
|
$result['goods'][$key]['reason'] = $data['data']['return_reason'];
|
|
|
|
|
|
$result['goods'][$key]['isLimitSkn'] = $value['is_limit_skn'] === 'Y'; //is_limit_skn=Y 不支持7天无理由退换货
|
|
|
|
|
|
// tar note 为每个特殊商品都添加标识
|
|
|
if ($value['is_limit_skn'] === 'Y') {
|
|
|
$remarks = explode(' ', $data['data']['special_notice']['remark'], 2); // 使用3个空格拆分
|
|
|
$result['goods'][$key]['specialNoticeBo']['title'] = $data['data']['special_notice']['title'];
|
|
|
$result['goods'][$key]['specialNoticeBo']['remark1'] = $remarks[0];
|
|
|
$result['goods'][$key]['specialNoticeBo']['remark2'] = $remarks[1];
|
|
|
$result['goods'][$key]['specialNoticeBo']['remark1'] = '该商品非质量问题不支持退换货,如有疑问,请联系客服。'; //$remarks[0];
|
|
|
//$result['goods'][$key]['specialNoticeBo']['remark2'] = $remarks[1];
|
|
|
|
|
|
// tar note 对数组做处理,为不显示的添加 inactive
|
|
|
if (isset($data['data']['special_return_reason'])) {
|
...
|
...
|
@@ -406,13 +408,14 @@ class ReturnsModel |
|
|
$result['goods'][$key]['goods_type_id'] = $value['goods_type_id'];
|
|
|
|
|
|
$result['goods'][$key]['reason'] = $data['data']['exchange_reason'];
|
|
|
$result['goods'][$key]['isLimitSkn'] = $value['is_limit_skn'] === 'Y'; //is_limit_skn=Y 不支持7天无理由退换货
|
|
|
|
|
|
// tar note 为每个特殊商品都添加标识
|
|
|
if ($value['is_limit_skn'] === 'Y') {
|
|
|
$remarks = explode(' ', $data['data']['specialNoticeBo']['remark'], 2); // 使用3个空格拆分
|
|
|
$result['goods'][$key]['specialNoticeBo']['title'] = $data['data']['specialNoticeBo']['title'];
|
|
|
$result['goods'][$key]['specialNoticeBo']['remark1'] = $remarks[0];
|
|
|
$result['goods'][$key]['specialNoticeBo']['remark2'] = $remarks[1];
|
|
|
$result['goods'][$key]['specialNoticeBo']['remark1'] = '该商品非质量问题不支持退换货,如有疑问,请联系客服。'; //$remarks[0];
|
|
|
//$result['goods'][$key]['specialNoticeBo']['remark2'] = $remarks[1];
|
|
|
|
|
|
// tar note 对数组做处理,为不显示的添加 inactive
|
|
|
if (isset($data['data']['special_exchange_reason'])) {
|
...
|
...
|
|