Commit c6368d49 authored by pengfei's avatar pengfei

update 团长分销奖励脚本

parent 12c45840
...@@ -18,8 +18,8 @@ class ColonelwalletController extends Cli ...@@ -18,8 +18,8 @@ class ColonelwalletController extends Cli
$payInfoList = $this->getPayInfo($yesterday); $payInfoList = $this->getPayInfo($yesterday);
FileLog::info("colonel_distributor_wallet", '团长分销-奖励钱包脚本:payInfoCount='.count($payInfoList)); FileLog::info("colonel_distributor_wallet", '团长分销-奖励钱包脚本:payInfoCount='.count($payInfoList));
if (!empty($payInfoList)) { if (!empty($payInfoList)) {
if ($this->toWallet($payInfoList)) { if ($this->deductingInventory($payInfoList)) {
if ($this->deductingInventory($payInfoList)) { if ($this->toWallet($payInfoList)) {
$this->handlePayInfoStatus(array_column($payInfoList, 'colonel_distributor_pay_info_id')); $this->handlePayInfoStatus(array_column($payInfoList, 'colonel_distributor_pay_info_id'));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment