package com.doumee.core.wx; /** * 公众号接口地址类 * * @Author : Rk * @create 2023/12/7 10:42 */ public class WXConstant { //获取公众号 access_token public static final String GET_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET"; //获取用户信息 public static final String GET_USER_INFO_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code"; }