- 将项目中使用的 Swagger 2.x 注解(如 @Api、@ApiOperation 等)全面替换为 OpenAPI3.0 对应注解(如 @Tag、@Operation 等) - 解决Knife4j依赖的springdoc-openapi版本和springboot3.4.4版本不兼容问题
31 lines
947 B
Java
31 lines
947 B
Java
package org.dromara.app;
|
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
import lombok.RequiredArgsConstructor;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
/**
|
|
* 买家端,退款回调
|
|
*
|
|
* @author Chopper
|
|
* @since 2020-12-18 16:59
|
|
*/
|
|
@Tag(name = "买家端,退款回调")
|
|
@RestController
|
|
@RequestMapping("/buyer/payment/cashierRefund")
|
|
@RequiredArgsConstructor
|
|
public class CashierRefundController {
|
|
|
|
|
|
// private final RefundSupport refundSupport;
|
|
//
|
|
//
|
|
// @ApiOperation(value = "退款通知")
|
|
// @RequestMapping(value = "/notify/{paymentMethod}", method = {RequestMethod.GET, RequestMethod.POST})
|
|
// public void notify(HttpServletRequest request, @PathVariable String paymentMethod) {
|
|
// PaymentMethodEnum paymentMethodEnum = PaymentMethodEnum.valueOf(paymentMethod);
|
|
// refundSupport.notify(paymentMethodEnum, request);
|
|
// }
|
|
}
|