From ff57ace362af07655f54eea90c4d2f63b05f5b66 Mon Sep 17 00:00:00 2001 From: Andru <769883346@qq.com> Date: 星期五, 27 十月 2023 15:59:51 +0800 Subject: [PATCH] 添加参数 --- src/main/java/com/hx/mp/util/CorpMpClientUtil.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/hx/mp/util/CorpMpClientUtil.java b/src/main/java/com/hx/mp/util/CorpMpClientUtil.java index f8d1957..87b0919 100644 --- a/src/main/java/com/hx/mp/util/CorpMpClientUtil.java +++ b/src/main/java/com/hx/mp/util/CorpMpClientUtil.java @@ -329,11 +329,17 @@ * * @param accessToken 浼佷笟鐨刟ccessToken * @param linkId 閾炬帴id + * @param cursor 鍒嗛〉娓告爣 * @return 杩斿洖 */ - public static JSONObject getCustomerAcquisitionCustomerList(String accessToken, String linkId) { + public static JSONObject getCustomerAcquisitionCustomerList(String accessToken, String linkId, String cursor) { JSONObject data = new JSONObject(); data.put("link_id", linkId); + data.put("limit", 1000); + // 鍒嗛〉娓告爣 + if (!StringUtils.isEmpty(cursor)) { + data.put("cursor", cursor); + } /** 杩斿洖鏁版嵁 * { * "errcode": 0, -- Gitblit v1.8.0