|
|
@@ -175,6 +175,7 @@ public class CommissionService {
|
|
|
* 原有settle方法 - 兼容旧调用
|
|
|
* 内部委托给settleTwoLevel实现L1+L2佣金
|
|
|
*/
|
|
|
+ @Deprecated
|
|
|
public void settle(Long orderId, String orderType, Long buyerId,
|
|
|
Integer orderAmount, Long productId) {
|
|
|
settleTwoLevel(orderId, orderType, buyerId, orderAmount, productId);
|
|
|
@@ -182,11 +183,13 @@ public class CommissionService {
|
|
|
|
|
|
/**
|
|
|
* 两级佣金结算(L1+L2)
|
|
|
+ * @deprecated 佣金体系已废弃,由 CF 值(平台积分)替代。保留兼容旧调用方。
|
|
|
* - L1: 买家的直接推荐人获得佣金
|
|
|
* - L2: 如果L1推荐人也有推荐人,且订单类型为membership,L2获得佣金
|
|
|
* - 佣金费率从sys_config动态读取(bps)
|
|
|
* - 默认状态为pending,settledAt为7天后
|
|
|
*/
|
|
|
+ @Deprecated
|
|
|
public void settleTwoLevel(Long orderId, String orderType, Long buyerId,
|
|
|
Integer orderAmount, Long productId) {
|
|
|
try {
|