|
|
|
@@ -74,11 +74,10 @@ public class WxCardController extends BaseController { |
|
|
|
|
|
|
|
@ApiOperation("批量查询卡券列表") |
|
|
|
@GetMapping("cardBatchGet/{appId}") |
|
|
|
public ResultData cardBatchGet(@PathVariable String appId) { |
|
|
|
public ResultData cardBatchGet(@PathVariable String appId, String status) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxCardController::cardBatchGet"); |
|
|
|
List<String> statusList = new ArrayList<>(); |
|
|
|
statusList.add("CARD_STATUS_NOT_VERIFY"); |
|
|
|
statusList.add("CARD_STATUS_VERIFY_OK"); |
|
|
|
statusList.add(status); |
|
|
|
try { |
|
|
|
WxMpService mpService = openService.getWxOpenComponentService().getWxMpServiceByAppid(appId); |
|
|
|
WxMpCardBatchGetResult result = mpService.getCardService().getCardBatchGet(0, 10, statusList); |
|
|
|
|