code review 支付相关的代码实现

This commit is contained in:
YunaiV
2021-11-21 12:24:08 +08:00
parent 7d6f205dc0
commit b18cd457c8
7 changed files with 11 additions and 8 deletions

View File

@ -22,7 +22,6 @@ public class PayRefundReqVO {
@NotEmpty(message = "退款金额")
private Long amount;
@ApiModelProperty(value = "退款原因", required = true, example = "不喜欢")
@NotEmpty(message = "退款原因")
private String reason;

View File

@ -8,7 +8,7 @@ import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
/**
* 支付退款 Convert
* 支付退款 Convert // TODO @jason类注释和下面有一个空行哈
* @author jason
*/
@Mapper

View File

@ -58,7 +58,7 @@ public class ShopOrderController {
}
// TODO @jason方法之间空一行即可哈
@PostMapping("/pay-notify")
@ApiOperation("支付回调")
public CommonResult<Boolean> payNotify(@RequestBody @Valid PayNotifyOrderReqVO reqVO) {