修改code review

This commit is contained in:
jason 2021-11-21 22:33:42 +08:00
parent f0fcf4798e
commit 444ba79822
3 changed files with 9 additions and 6 deletions

View File

@ -15,11 +15,15 @@ import java.util.Map;
@Builder @Builder
public class PayNotifyDataDTO { public class PayNotifyDataDTO {
// TODO @jason使用 /** */ 的形式注释哈
//返回的所有参数 /**
* HTTP 回调接口的 request body
*/
private String body; private String body;
//form 格式的 data; /**
* HTTP 回调接口 content type application/x-www-form-urlencoded 的所有参数
*/
private Map<String,String> params; private Map<String,String> params;
} }

View File

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

View File

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