mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-23 09:50:25 +08:00
Update RebateService.php
This commit is contained in:
parent
8892a6fa2b
commit
f08ad20a7c
@ -119,12 +119,10 @@ class RebateService extends Service
|
|||||||
if (empty($this->from2)) throw new Exception('间接推荐人不存在');
|
if (empty($this->from2)) throw new Exception('间接推荐人不存在');
|
||||||
}
|
}
|
||||||
// 批量发放配置奖励
|
// 批量发放配置奖励
|
||||||
foreach (self::PRIZES as $vo) {
|
foreach (self::PRIZES as $vo) if (method_exists($this, $vo['func'])) {
|
||||||
if (method_exists($this, $vo['func'])) {
|
$this->app->log->notice("订单 {$orderNo} 开始发放 [{$vo['func']}] {$vo['name']}");
|
||||||
$this->app->log->notice("订单 {$orderNo} 开始发放 [{$vo['func']}] {$vo['name']}");
|
$this->{$vo['func']}();
|
||||||
$this->{$vo['func']}();
|
$this->app->log->notice("订单 {$orderNo} 完成发放 [{$vo['func']}] {$vo['name']}");
|
||||||
$this->app->log->notice("订单 {$orderNo} 完成发放 [{$vo['func']}] {$vo['name']}");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user