소스 검색

替换网址共同部分为已定义的常量

master
BinaryWang 8 년 전
부모
커밋
ff20ecb56c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpUserTagServiceImpl.java

+ 3
- 3
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpUserTagServiceImpl.java 파일 보기

@@ -102,7 +102,7 @@ public class WxMpUserTagServiceImpl implements WxMpUserTagService {
@Override
public boolean batchTagging(Long tagId, String[] openids)
throws WxErrorException {
String url = "https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging";
String url = API_URL_PREFIX + "/members/batchtagging";

JsonObject json = new JsonObject();
json.addProperty("tagid", tagId);
@@ -124,7 +124,7 @@ public class WxMpUserTagServiceImpl implements WxMpUserTagService {
@Override
public boolean batchUntagging(Long tagId, String[] openids)
throws WxErrorException {
String url = "https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging";
String url = API_URL_PREFIX + "/members/batchuntagging";

JsonObject json = new JsonObject();
json.addProperty("tagid", tagId);
@@ -145,7 +145,7 @@ public class WxMpUserTagServiceImpl implements WxMpUserTagService {

@Override
public List<Integer> userTagList(String openid) throws WxErrorException {
String url = "https://api.weixin.qq.com/cgi-bin/tags/getidlist";
String url = API_URL_PREFIX + "/getidlist";

JsonObject json = new JsonObject();
json.addProperty("openid", openid);


불러오는 중...
취소
저장