mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 15:51:52 +08:00
修改code review
This commit is contained in:
parent
f0fcf4798e
commit
444ba79822
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user