mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
#252 添加图文消息留言管理中打开已群发文章评论的接口
This commit is contained in:
@@ -807,7 +807,6 @@ public interface WxMpApiUrl {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@AllArgsConstructor
|
||||
enum User implements WxMpApiUrl {
|
||||
/**
|
||||
@@ -839,4 +838,20 @@ public interface WxMpApiUrl {
|
||||
return buildUrl(config.getHostConfig(), prefix, path);
|
||||
}
|
||||
}
|
||||
|
||||
@AllArgsConstructor
|
||||
enum Comment implements WxMpApiUrl {
|
||||
/**
|
||||
* 打开已群发文章评论.
|
||||
*/
|
||||
OPEN(API_DEFAULT_HOST_URL, "/cgi-bin/comment/open");
|
||||
|
||||
private String prefix;
|
||||
private String path;
|
||||
|
||||
@Override
|
||||
public String getUrl(WxMpConfigStorage config) {
|
||||
return buildUrl(config.getHostConfig(), prefix, path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user