|
|
@ -73,6 +73,9 @@ public class TestController { |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private CmsContentService cmsContentService; |
|
|
|
private CmsContentService cmsContentService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private BsOrderRefundService orderRefundService; |
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/thirdPayResult",method = RequestMethod.GET) |
|
|
|
@RequestMapping(value="/thirdPayResult",method = RequestMethod.GET) |
|
|
|
@ResponseBody |
|
|
|
@ResponseBody |
|
|
|
@ApiOperation(value = "查询V家园订单交易状态") |
|
|
|
@ApiOperation(value = "查询V家园订单交易状态") |
|
|
@ -513,5 +516,25 @@ public class TestController { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/meiTuanRefund",method = RequestMethod.GET) |
|
|
|
|
|
|
|
@ResponseBody |
|
|
|
|
|
|
|
@ApiOperation(value = "meiTuanRefund") |
|
|
|
|
|
|
|
public ResponseData meiTuanRefund() { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
orderRefundService.meiTuanRefund( |
|
|
|
|
|
|
|
"R"+DateUtil.date2String(new Date(), "yyMMddHHmmss") + RandomUtils.number(3, false) , |
|
|
|
|
|
|
|
"1895338934767706172" , |
|
|
|
|
|
|
|
new BigDecimal("56.14") , |
|
|
|
|
|
|
|
"美团退款" |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return ResponseMsgUtil.success("成功"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
log.error("error!",e); |
|
|
|
|
|
|
|
return ResponseMsgUtil.exception(e); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|