Commit b87da549 by 杨树贤

修复异步任务内部循环调用的问题

parent 8f6bcc4f
Showing with 1 additions and 1 deletions
......@@ -35,7 +35,7 @@ class IntegralBillTask extends Task
'add_time' => $this->data['add_time'],
];
$integralBill = new IntegralBill();
$result = $integralBill->createIntegralBill($data);
$result = $integralBill->insert($data);
if (!$result) {
throw new \Exception("插入用户红包账单失败,用户id是$userId,兑换类型id是$integralId");
}
......
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 sign in to comment