推广分佣功能开发
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user