parent
cb1f15ca96
commit
c01365ce02
|
|
@ -452,7 +452,7 @@ class CommissionOrderService
|
|||
$commission = 0;
|
||||
|
||||
// 获取所有经销商升级商品
|
||||
$upgradeTeamDividendGoodsIds = TeamDividendLevelUpgrade::getUpgradeGoods();
|
||||
$upgradeTeamDividendGoodsIds = [];//TeamDividendLevelUpgrade::getUpgradeGoods();
|
||||
//运费需要最后计算订单的总运费而不是每个商品计算一次 (以下全部用于加减运费)
|
||||
$is_general = false;//是否走统一
|
||||
$is_commission = false;//判断订单的全部商品是否有开启分红
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ class PluginApplication extends \app\common\services\PluginApplication{
|
|||
return;
|
||||
});
|
||||
// 每5分钟 执行一次消费返利失效判断
|
||||
\Cron::add('rebate-settlement', '*/5 * * * *', function () {
|
||||
\Cron::add('rebate-lose-efficacy', '*/5 * * * *', function () {
|
||||
Rebate::loseEfficacy();
|
||||
return;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue