package com.dsh.account.controller;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* 支付回调控制器
|
*/
|
|
|
@RestController
|
@RequestMapping("/payment/callback")
|
public class PaymentCallbackController {
|
|
|
/**
|
* 支付宝支付回调接口
|
*/
|
@PostMapping("/v1")
|
public void alipayCallback(){
|
|
}
|
|
|
/**
|
* 微信支付回调接口
|
*/
|
@PostMapping("/v2")
|
public void weChatCallback(){
|
|
}
|
|
|
}
|