|
|
|
@ -39,6 +39,10 @@ public class CustomerLotteryCountServiceImpl implements ApplicationListener<Afte
|
|
|
|
|
@Override
|
|
|
|
|
public void onApplicationEvent(AfterPaymentFinishEvent event) {
|
|
|
|
|
final JSONObject order = event.getFinishedEvent().getOrder();
|
|
|
|
|
//只允许pine商户参与该活动
|
|
|
|
|
if (order.getIntValue("client_id") != 9) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
BigDecimal clearAmount = event.getFinishedEvent().getAudFee();
|
|
|
|
|
String channel = order.getString("channel");
|
|
|
|
|
if ("Wechat".equals(channel)) {
|
|
|
|
|