|
|
@@ -66,6 +66,7 @@ public class OrderPayService {
|
|
|
private final AlipayProperties alipayProperties;
|
|
|
private final AlipayService alipayService;
|
|
|
private final PhotoAssetRepo photoAssetRepo;
|
|
|
+ private final PhotoAssetService photoAssetService;
|
|
|
|
|
|
public static void setPayChannel(String payChannel) {
|
|
|
log.info("set pay channel {}", payChannel);
|
|
|
@@ -796,7 +797,7 @@ public class OrderPayService {
|
|
|
}
|
|
|
checkTradeCode(userId, tradeCode, order.getUserId());
|
|
|
BalanceRecord record = userBalanceService.balancePay(order.getUserId(), order.getPrice(), orderId, "星图");
|
|
|
- auctionOrderService.notify(orderId, PayMethod.BALANCE, record.getId().toString());
|
|
|
+ photoAssetService.notify(orderId, PayMethod.BALANCE, record.getId().toString());
|
|
|
}
|
|
|
|
|
|
@Cacheable(value = "payOrder", key = "'picOrder#'+#orderId")
|