mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update PrizeService.php
This commit is contained in:
parent
9bb655eceb
commit
6c006ecd21
@ -191,7 +191,7 @@ class PrizeService extends Service
|
||||
private function _prize04(): bool
|
||||
{
|
||||
if (empty($this->fromer)) return false;
|
||||
$pm2 = $this->app->db->name('DataUser')->where(['id' => $this->fromer['from']])->find();
|
||||
$pm2 = $this->app->db->name('DataUser')->where(['id' => $this->fromer['pid1']])->find();
|
||||
if (empty($pm2)) return false;
|
||||
if (!$this->checkLevelPrize(self::PRIZE_04, $pm2['vip_number'])) return false;
|
||||
$map = ['type' => self::PRIZE_04, 'order_no' => $this->order['order_no'], 'order_uid' => $this->order['uid']];
|
||||
|
Loading…
x
Reference in New Issue
Block a user