|
|
@@ -45,6 +45,7 @@ class RefundOrderService extends BaseService
|
|
|
$data['orderSn'] = $orderSn;
|
|
|
$data['relateOrderSn'] = $order->orderSn ?? '';
|
|
|
$sjId = $post['sjId'] ?? 0;
|
|
|
+ $refundType = $post['refundType'] ?? 0;
|
|
|
$shopId = $post['shopId'] ?? 0;
|
|
|
$mainId = $post['mainId'] ?? 0;
|
|
|
$data['sjId'] = $sjId;
|
|
|
@@ -54,7 +55,7 @@ class RefundOrderService extends BaseService
|
|
|
$data['shopAdminName'] = $post['shopAdminName'] ?? '';
|
|
|
|
|
|
$postProduct = $post['product'] ?? '';
|
|
|
- if ($data['refundType'] == RefundOrderClass::REFUND_TYPE_MONEY_GOOD) {
|
|
|
+ if ($refundType == RefundOrderClass::REFUND_TYPE_MONEY_GOOD) {
|
|
|
//花材列表结构
|
|
|
// [{productId:0,num:1,unitType:0,unitPrice:12,unitName:'扎'}] productId 花材id num 退货数 unitType 大小单位0大1小 unitPrice 售价 unitName单位名称
|
|
|
if (empty($postProduct)) {
|