修改code review

pull/2/head
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
public class PayNotifyDataDTO {
// TODO @jason使用 /** */ 的形式注释哈
//返回的所有参数
/**
* HTTP request body
*/
private String body;
//form 格式的 data;
/**
* HTTP content type application/x-www-form-urlencoded
*/
private Map<String,String> params;
}

View File

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

View File

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