From f9539d967558991a04cd73009e1913207362c896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Thu, 25 Dec 2025 16:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BC=E7=89=A9=E5=88=97=E8=A1=A8=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Gift.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/model/Gift.php b/application/api/model/Gift.php index a135f467..e7844a5b 100644 --- a/application/api/model/Gift.php +++ b/application/api/model/Gift.php @@ -20,6 +20,7 @@ class Gift extends Model //获取礼物类型 public function get_gift_label() { + $giftType = []; $giftTypeData = db::name('vs_gift_label')->where('delete_time',0)->where('tid',1)->order("sort asc,id desc")->select(); foreach ($giftTypeData as $key => $value) { $giftType[$key]['id'] = $value['id'];