From 38888525e7ada5c6bafe40f40cf9e0881eff019d Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Fri, 13 Oct 2023 14:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=AD=E5=A5=96=E9=87=91?= =?UTF-8?q?=E9=A2=9D=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/logic/Zone.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/logic/Zone.php b/app/logic/Zone.php index 11825e3..cb1f2fc 100644 --- a/app/logic/Zone.php +++ b/app/logic/Zone.php @@ -2,6 +2,7 @@ namespace app\logic; use app\common\lib\pinyin\PinyinNumber; +use app\model\AwardsLog; use app\model\AwardsRecords; use app\model\ConsumptionRecords; use app\model\User; @@ -51,7 +52,7 @@ class Zone self::$awards_number_count = $zoneGoods['awards_number_count']; // 中奖号码数量 self::$direction = $zoneGoods['direction_count']; // 纵向数量 self::$transverse = $zoneGoods['transverse_count']; // 横向数量 - self::$awards_icon_dirname = $zoneGoods['awards_icon_dirname']; // 横向数量 + self::$awards_icon_dirname = $zoneGoods['awards_icon_dirname']; // 中奖图案图片地址 $playRes = ZoneGoodsPlay::find($zoneGoods['play_id']); if (empty($playRes)) return '未设置玩法'; @@ -194,6 +195,7 @@ class Zone if ($awardsAmountRes) { $save_data[$key][$k]['is_awards'] = 1; $awards_amount += $awardsAmountRes['amount']; + AwardsLog::createLog(self::$zone_goods_id,self::$user_id,$awardsAmountRes['amount']); } } }