|
@@ -39,6 +39,7 @@ class CouponController extends Curd
|
|
|
*/
|
|
|
public function select(Request $request): Response
|
|
|
{
|
|
|
+ dump("开始".time());
|
|
|
$joinCouponCategoryId = $request->get('join_coupon_category_id', []);
|
|
|
[$where, $format, $limit, $field, $order] = $this->selectInput($request);
|
|
|
if (!empty($joinCouponCategoryId)) {
|
|
@@ -100,6 +101,7 @@ class CouponController extends Curd
|
|
|
|
|
|
protected function afterQuery($items)
|
|
|
{
|
|
|
+ dump("查询结束".time());
|
|
|
foreach ($items as &$item) {
|
|
|
if (!empty($item['coupon_json'])) {
|
|
|
$couponJson = json_decode($item['coupon_json'], true);
|
|
@@ -154,6 +156,7 @@ class CouponController extends Curd
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ dump("处理结束".time());
|
|
|
return $items;
|
|
|
}
|
|
|
|