Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘小敏
loveisland
Commits
746f85d7
Commit
746f85d7
authored
Jul 10, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(command): 更新佣金结算任务日志描述
parent
adebed9f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AgentOrderCommission.php
application/command/AgentOrderCommission.php
+2
-2
No files found.
application/command/AgentOrderCommission.php
View file @
746f85d7
...
@@ -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'
,
'[分销订单佣金结算任务执行失败]'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment