mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-19 14:49:50 +08:00
add 新增退款用户余额临时接口
This commit is contained in:
@@ -313,6 +313,21 @@ public class SpringBootTestController {
|
||||
|
||||
private final ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(10, JsowellThreadFactory.forName("test-thread-factory"));
|
||||
|
||||
@Test
|
||||
public void testRefundAmount() {
|
||||
ApplyRefundDTO dto = new ApplyRefundDTO();
|
||||
dto.setMemberId("42833346");
|
||||
dto.setRefundAmount(new BigDecimal("13.12"));
|
||||
dto.setWechatAppId(Constants.XIXIAO_APP_ID);
|
||||
dto.setRefundType("2");
|
||||
dto.setWalletCode("8986380447445731");
|
||||
|
||||
String mode = pileMerchantInfoService.getDelayModeByWechatAppId(dto.getWechatAppId());
|
||||
// 获取处理逻辑
|
||||
AbstractProgramLogic orderLogic = ProgramLogicFactory.getProgramLogic(mode);
|
||||
orderLogic.refundBalance(dto);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void deleteThirdPartyStationRelationTest() {
|
||||
ThirdPartyStationRelationDTO dto = new ThirdPartyStationRelationDTO();
|
||||
|
||||
Reference in New Issue
Block a user