From 18ebd1fcc98f7827628b2c697475bf00033dc0f2 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Thu, 23 Dec 2021 15:02:41 +0800 Subject: [PATCH] settter --- app/controller/api/Coupon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index 8493a1f..110fa0c 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -752,7 +752,7 @@ class Coupon extends Base }); - return $this->json(0, 'success', $res["list"]); + return $this->json(0, 'success', $res); } catch (RepositoryException | \Exception $e) { echo $e->getMessage(); return $this->json(5001, '优惠卷查询失败!');