/** * 初始化微信 * * @param id app id * @param secret 密钥 * @param scope oauth权限 */ public static void initWeChat(String id, String secret, String scope) { info.setWechatAppId(id); info.setWeChatAppSecret(secret); info.setWeChatScope(scope); }