Commit 746f85d7 authored by 刘小敏's avatar 刘小敏

fix(command): 更新佣金结算任务日志描述

parent adebed9f
...@@ -95,7 +95,7 @@ class AgentOrderCommission extends Command ...@@ -95,7 +95,7 @@ class AgentOrderCommission extends Command
protected function execute(Input $input, Output $output) protected function execute(Input $input, Output $output)
{ {
$this->output = $output; $this->output = $output;
$this->customLog('info', '========== 开始执行分销订单佣金结算任务 =========='); $this->customLog('info', '========== 开始执行分销订单代理商佣金结算任务 ==========');
// 建议:为 fa_shopro_agent_order_commission 添加唯一索引防止并发重复 // 建议:为 fa_shopro_agent_order_commission 添加唯一索引防止并发重复
// ALTER TABLE fa_shopro_agent_order_commission ADD UNIQUE INDEX uk_order_agent (order_id, agent_id); // ALTER TABLE fa_shopro_agent_order_commission ADD UNIQUE INDEX uk_order_agent (order_id, agent_id);
...@@ -186,7 +186,7 @@ class AgentOrderCommission extends Command ...@@ -186,7 +186,7 @@ class AgentOrderCommission extends Command
// 2. 所有订单佣金统计完毕后,更新代理商累计佣金总额 // 2. 所有订单佣金统计完毕后,更新代理商累计佣金总额
$this->updateAgentsTotalCommission(); $this->updateAgentsTotalCommission();
$this->customLog('info', '========== 分销订单佣金结算任务执行完成 =========='); $this->customLog('info', '========== 分销订单代理商佣金结算任务执行完成 ==========');
} catch (\Exception $e) { } catch (\Exception $e) {
$this->customLog('error', '[分销订单佣金结算任务执行失败]'); $this->customLog('error', '[分销订单佣金结算任务执行失败]');
......
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