|
|
@@ -8,6 +8,7 @@ import com.github.binarywang.wxpay.bean.notify.WxPayNotifyResponse;
|
|
|
import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
|
|
|
import com.github.binarywang.wxpay.exception.WxPayException;
|
|
|
import com.github.binarywang.wxpay.service.WxPayService;
|
|
|
+import com.huifu.adapay.Adapay;
|
|
|
import com.huifu.adapay.core.AdapayCore;
|
|
|
import com.huifu.adapay.core.util.AdapaySign;
|
|
|
import com.izouma.nineth.config.AlipayProperties;
|
|
|
@@ -117,6 +118,12 @@ public class OrderNotifyController {
|
|
|
return WxPayNotifyResponse.success("OK");
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/adapay/order/{orderId}")
|
|
|
+ @ResponseBody
|
|
|
+ public void adapayNotify(@PathVariable Long orderId, HttpServletRequest request) {
|
|
|
+ adapayNotify(Adapay.defaultMerchantKey, orderId, request);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/adapay/order/{merchant}/{orderId}")
|
|
|
@ResponseBody
|
|
|
public void adapayNotify(@PathVariable String merchant, @PathVariable Long orderId, HttpServletRequest request) {
|