<gh_stars>10-100
package org.thlws.payment.wechat.api;


/**
 * 微信官方公众号相关API列表  <br>
 *
 * @author Hanley | <EMAIL>
 * @version 1.0
 * @see <a href="https://pay.weixin.qq.com/guide/index.shtml">https://pay.weixin.qq.com/guide/index.shtml</a>
 * @see <a href="https://pay.weixin.qq.com/wiki/doc/api/sl.html">https://pay.weixin.qq.com/wiki/doc/api/sl.html</a>
 * @see <a href="https://pay.weixin.qq.com/wiki/doc/api/index.html">https://pay.weixin.qq.com/wiki/doc/api/index.html</a>
 */
public interface WechatMpApi {

    /**
     * 获取微信token[非普通token],使用code得到oauth2方式的 access_token,据此获取用户信息,openId,userInfo etc...
     */
    String oauth2_access_token = "https://api.weixin.qq.com/sns/oauth2/access_token";

    /**
     * 刷新token[非普通token]
     */
    String oauth2_refresh_token = "https://api.weixin.qq.com/sns/oauth2/refresh_token";

    /**
     * 验证token是否过期[非普通token]
     */
    String sns_auth_token = "https://api.weixin.qq.com/sns/auth";

    /**
     * 获取用户信息,URL scope需为userinfo
     */
    String sns_userinfo = "https://api.weixin.qq.com/sns/userinfo";

    /***
     * 获取普通token
     */
    String cgibin_token = "https://api.weixin.qq.com/cgi-bin/token";

    /***
     * 获取jsapi ticket
     */
    String cgi_bin_ticket_getticket = "https://api.weixin.qq.com/cgi-bin/ticket/getticket";

    /***
     * 获取消息模板ID
     */
    String cgibin_add_template = "https://api.weixin.qq.com/cgi-bin/template/api_add_template";

    /***
     * 设置行业属性
     */
    String cgibin_set_industry = "https://api.weixin.qq.com/cgi-bin/template/api_set_industry";

    /***
     * 获取行业属性
     */
    String cgibin_get_industry = "https://api.weixin.qq.com/cgi-bin/template/get_industry";

    /***
     * 发送微信推送通知
     */
    String cgibin_send_data = "https://api.weixin.qq.com/cgi-bin/message/template/send";


}
