@@ -345,6 +345,7 @@ public class WxNotifyController {
OrderInfo orderInfo = orderInfoService.getByOutTradeNo(outTradeNo);
try {
orderInfo.setOutRefundNo(refundRecord.getOutRefundNo());
+ orderInfo.setPayType(3);
orderInfoService.updateById(orderInfo);
} catch (Exception e) {
e.printStackTrace();
@@ -81,7 +81,7 @@ public class NewGzptTest {
@Test
public void test5() throws Exception {
- WxJsOrder wxJsOrder = wxJsOrderService.getByOutTradeNo("12022060714212752523480794758101");
+ WxJsOrder wxJsOrder = wxJsOrderService.getByOutTradeNo("12022060718161790123480791741559");
refundRecordService.refund(wxJsOrder, OrderCodeFactory.getOrderCode(null), "测试退款111BBQ");
}