|
|
@@ -193,6 +193,13 @@ public class OrderNotifyController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/adapay/ordertest/{orderId}")
|
|
|
+ @ResponseBody
|
|
|
+ public void adapayNotifyTest(@PathVariable Long orderId, @RequestParam String transactionId) throws Exception {
|
|
|
+ rocketMQTemplate.syncSend(generalProperties.getOrderNotifyTopic(),
|
|
|
+ new OrderNotifyEvent(orderId, PayMethod.ALIPAY, transactionId, System.currentTimeMillis()));
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/adapay/giftOrder/{orderId}")
|
|
|
@ResponseBody
|
|
|
public void adapayGiftNotify(@PathVariable Long orderId, HttpServletRequest request) {
|