Commit 444ba7982257e908acaa4e12a5cc481f4270b296
1 parent
f0fcf479
修改code review
Showing
3 changed files
with
9 additions
and
6 deletions
yudao-framework/yudao-spring-boot-starter-biz-pay/src/main/java/cn/iocoder/yudao/framework/pay/core/client/dto/PayNotifyDataDTO.java
| ... | ... | @@ -15,11 +15,15 @@ import java.util.Map; |
| 15 | 15 | @Builder |
| 16 | 16 | public class PayNotifyDataDTO { |
| 17 | 17 | |
| 18 | - // TODO @jason:使用 /** */ 的形式注释哈 | |
| 19 | - //返回的所有参数 | |
| 18 | + | |
| 19 | + /** | |
| 20 | + * HTTP 回调接口的 request body | |
| 21 | + */ | |
| 20 | 22 | private String body; |
| 21 | 23 | |
| 22 | 24 | |
| 23 | - //form 格式的 data; | |
| 25 | + /** | |
| 26 | + * HTTP 回调接口 content type 为 application/x-www-form-urlencoded 的所有参数 | |
| 27 | + */ | |
| 24 | 28 | private Map<String,String> params; |
| 25 | 29 | } | ... | ... |
yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/pay/convert/order/PayRefundConvert.java
yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/shop/controller/ShopOrderController.java
| ... | ... | @@ -57,8 +57,6 @@ public class ShopOrderController { |
| 57 | 57 | .payOrderId(payOrderId).build()); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - | |
| 61 | - // TODO @jason:方法之间,空一行即可哈 | |
| 62 | 60 | @PostMapping("/pay-notify") |
| 63 | 61 | @ApiOperation("支付回调") |
| 64 | 62 | public CommonResult<Boolean> payNotify(@RequestBody @Valid PayNotifyOrderReqVO reqVO) { | ... | ... |