mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-15 03:25:06 +08:00
code review 支付相关的代码实现
This commit is contained in:
@ -22,7 +22,6 @@ public class PayRefundReqVO {
|
||||
@NotEmpty(message = "退款金额")
|
||||
private Long amount;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "退款原因", required = true, example = "不喜欢")
|
||||
@NotEmpty(message = "退款原因")
|
||||
private String reason;
|
||||
|
@ -8,7 +8,7 @@ import org.mapstruct.Mapper;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
/**
|
||||
* 支付退款 Convert
|
||||
* 支付退款 Convert // TODO @jason:类注释,和下面,有一个空行哈
|
||||
* @author jason
|
||||
*/
|
||||
@Mapper
|
||||
|
@ -58,7 +58,7 @@ public class ShopOrderController {
|
||||
}
|
||||
|
||||
|
||||
|
||||
// TODO @jason:方法之间,空一行即可哈
|
||||
@PostMapping("/pay-notify")
|
||||
@ApiOperation("支付回调")
|
||||
public CommonResult<Boolean> payNotify(@RequestBody @Valid PayNotifyOrderReqVO reqVO) {
|
||||
|
Reference in New Issue
Block a user