| package com.matrix.component.tools; | 
|   | 
| public final class WxApiConstants { | 
|   | 
|   | 
|     public static String OAUTH_AUTHORIZE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect"; | 
|   | 
|     public static String WEIXIN_LOGIN_URL = "https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect"; | 
|   | 
|     public static String OAUTH_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code"; | 
|   | 
|   | 
|     public static String GET_USER_INFO = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESSTOKEN&openid=OPENID&lang=zh_CN"; | 
|   | 
|     public static String GETTICKET_URL = "https://api.weixin.qq.com/cgi-bin/ticket/getticket"; | 
|   | 
|     public static String GET_UESER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID"; | 
|   | 
|     // 发生消息模板接口 | 
|     public static String TEMPLATEMSG_SEN = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=ACCESS_TOKEN"; | 
|   | 
|   | 
|     public static String XCX_TEMPLATEMSG_SEN="https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=ACCESS_TOKEN"; | 
|   | 
|     // 获取图文群发每日数据(getarticlesummary) | 
|     public static String GET_ARTICLE_SUMMARY = "https://api.weixin.qq.com/datacube/getarticlesummary?access_token=ACCESS_TOKEN"; | 
|   | 
|     // 获取图文群发总数据(getarticletotal) | 
|     public static String GET_ARTICLE_TOTAL = "https://api.weixin.qq.com/datacube/getarticletotal?access_token=ACCESS_TOKEN"; | 
|   | 
|     // 获取用户增减数据(getusersummary) | 
|     public static String GET_USER_SUMMARY = "https://api.weixin.qq.com/datacube/getusersummary?access_token=ACCESS_TOKEN"; | 
|   | 
|     // 获取累计用户数据(getusercumulate) | 
|     public static String GET_USER_CUMULATE = "https://api.weixin.qq.com/datacube/getusercumulate?access_token=ACCESS_TOKEN"; | 
|   | 
|     // 查看指定文章的评论数据(新增接口) | 
|     public static String GET_MSG_CUMULATE = "https://api.weixin.qq.com/cgi-bin/comment/list?access_token=ACCESS_TOKEN"; | 
|   | 
|     // 临时二维码请求 | 
|     public static String GET_TICKET = "https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=ACCESS_TOKEN"; | 
|   | 
|     // 通过ticket换取二维码 | 
|     public static String GET_QUICKMARK = "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=TICKET"; | 
|   | 
|   | 
| } |