//微信里一个检测是否有发送模版消息的权限的方法//此处的openid代表的微信用户openid,templateId代表的是模版消息idpublic boolean checkIsSendTempMsgPower(String openid, String templateId) { boolean flag=true; if (openid != null) { JSONObject jo = new JSONObject(); String res = ispService.getBind…