1
0
mirror of synced 2025-12-27 21:48:01 +08:00

🐛 #2338 【微信支付】营销代金券接口修复pause和restart实现的问题

This commit is contained in:
Lucas
2021-10-06 10:17:07 +08:00
committed by GitHub
parent 56d2b5f57a
commit 3c4e749ea9
5 changed files with 86 additions and 12 deletions

View File

@@ -175,7 +175,7 @@ public class MarketingFavorServiceImplTest {
public void testPauseFavorStocksV3() throws WxPayException {
FavorStocksSetRequest request = new FavorStocksSetRequest();
request.setStockCreatorMchid(wxPayService.getConfig().getMchId());
FavorStocksStartResult result = wxPayService.getMarketingFavorService().pauseFavorStocksV3(stockId, request);
FavorStocksPauseResult result = wxPayService.getMarketingFavorService().pauseFavorStocksV3(stockId, request);
log.info("result: {}", GSON.toJson(result));
}
@@ -184,7 +184,7 @@ public class MarketingFavorServiceImplTest {
public void testRestartFavorStocksV3() throws WxPayException {
FavorStocksSetRequest request = new FavorStocksSetRequest();
request.setStockCreatorMchid(wxPayService.getConfig().getMchId());
FavorStocksStartResult result = wxPayService.getMarketingFavorService().restartFavorStocksV3(stockId, request);
FavorStocksRestartResult result = wxPayService.getMarketingFavorService().restartFavorStocksV3(stockId, request);
log.info("result: {}", GSON.toJson(result));
}