From 41f10bc387a33348248f7724fc78863f0f451a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Tue, 6 Jan 2026 11:57:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=92=E5=90=A7=E6=88=BF=EF=BC=9A->=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=8E=A5=E5=8F=A3=E6=8F=90=E4=BA=A4-bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/GiftNew.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/api/controller/GiftNew.php b/application/api/controller/GiftNew.php index 178ea071..0edda5ee 100644 --- a/application/api/controller/GiftNew.php +++ b/application/api/controller/GiftNew.php @@ -40,7 +40,8 @@ class GiftNew extends BaseCom * 获取自定义礼物列表 */ public function get_custom_gift_list(){ - $reslut = model('GiftNew')->get_custom_gift_list($this->uid); + $user_id = input('user_id', 0); //收礼人用户Id + $reslut = model('GiftNew')->get_custom_gift_list($user_id); return V($reslut['code'], $reslut['msg'], $reslut['data']); } } \ No newline at end of file