|
|
@@ -1102,7 +1102,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'title' => '下单节能油获得分红额度',
|
|
|
'balance' => $after,
|
|
|
'status' => 1,
|
|
|
- 'link_id' => $order['id'],
|
|
|
+ 'link_id' => $order['order_id'],
|
|
|
'mark' => $user['nickname'] . '成功消费节能油商品' . floatval($order['pay_price']) . '元,奖励分红额度' . $order_award_range,
|
|
|
]);
|
|
|
}
|
|
|
@@ -1116,7 +1116,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'title' => '下单礼包获得分红额度',
|
|
|
'balance' => $after,
|
|
|
'status' => 1,
|
|
|
- 'link_id' => $order['id'],
|
|
|
+ 'link_id' => $order['order_id'],
|
|
|
'mark' => $user['nickname'] . '成功消费礼包商品' . floatval($order['pay_price']) . '元,奖励分红额度' . $order_award_range,
|
|
|
]);
|
|
|
}
|
|
|
@@ -1133,7 +1133,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'title' => '下单普通商品获得分红额度',
|
|
|
'balance' => $after,
|
|
|
'status' => 1,
|
|
|
- 'link_id' => $order['id'],
|
|
|
+ 'link_id' => $order['order_id'],
|
|
|
'mark' => $user['nickname'] . '成功消费普通商品' . floatval($order['pay_price']) . '元,奖励分红额度' . $order_award_range,
|
|
|
]);
|
|
|
User::where('uid', $order['uid'])->update(['award_range' => $after]);
|
|
|
@@ -1149,7 +1149,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'title' => '下单普通商品获得分红积分',
|
|
|
'balance' => $after2,
|
|
|
'status' => 1,
|
|
|
- 'link_id' => $order['id'],
|
|
|
+ 'link_id' => $order['order_id'],
|
|
|
'mark' => $user['nickname'] . '成功消费普通商品' . floatval($order['pay_price']) . '元,奖励分红积分' . $order_award_range,
|
|
|
]);
|
|
|
User::where('uid', $order['uid'])->update(['ordinary_integral' => $after]);
|
|
|
@@ -1189,7 +1189,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'title' => '下级节能油订单获得分红积分',
|
|
|
'balance' => $after,
|
|
|
'status' => 1,
|
|
|
- 'link_id' => $order['id'],
|
|
|
+ 'link_id' => $order['order_id'],
|
|
|
'mark' => $user['nickname'] . '成功消费节能油商品' . floatval($order['pay_price']) . '元,奖励上级分红积分' . $order_award_range,
|
|
|
]);
|
|
|
}
|
|
|
@@ -1215,7 +1215,7 @@ class StoreOrderRepository extends BaseRepository
|
|
|
'title' => '下级礼包订单获得分红积分',
|
|
|
'balance' => $after,
|
|
|
'status' => 1,
|
|
|
- 'link_id' => $order['id'],
|
|
|
+ 'link_id' => $order['order_id'],
|
|
|
'mark' => $user['nickname'] . '成功消费礼包商品' . floatval($order['pay_price']) . '元,奖励上级分红积分' . $order_award_range,
|
|
|
]);
|
|
|
}
|