|
|
|
@ -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']); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|