推广分佣功能开发

This commit is contained in:
Dev
2026-10-14 14:44:01 +08:00
parent da26eb5306
commit 1754df972d
34 changed files with 1414 additions and 16 deletions
@@ -562,6 +562,8 @@ class DemandService
if (!$upRes) {
exception('更新订单状态失败');
}
//交易完成:结算推广佣金
PromotionService::settleOrders(['parent_order_no' => $demand->parent_order_no]);
Db::commit();
return $demand;
} catch (\Exception $e) {