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

This commit is contained in:
乐风 2021-03-20 05:13:42 +08:00
parent c564147f20
commit bbd8ba53bc
1 changed files with 2 additions and 1 deletions

View File

@ -229,6 +229,7 @@ class PromotionController extends WorkflowController
}
return $row;
});
return $rows;
} else {
@ -309,8 +310,8 @@ class PromotionController extends WorkflowController
}
return $row;
});
return ['data' => $rows];
}
return $this->json($rows, true);
}
return $this->render([