修正赠品促销带入订单不显示

This commit is contained in:
2021-03-20 05:13:42 +08:00
parent c564147f20
commit bbd8ba53bc
@@ -229,6 +229,7 @@ class PromotionController extends WorkflowController
} }
return $row; return $row;
}); });
return $rows;
} else { } else {
@@ -309,8 +310,8 @@ class PromotionController extends WorkflowController
} }
return $row; return $row;
}); });
return ['data' => $rows];
} }
return $this->json($rows, true);
} }
return $this->render([ return $this->render([