上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 67 下一页
摘要: package com.weixin.sendmessage; import org.apache.commons.lang.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; im 阅读全文
posted @ 2019-11-12 15:49 yvioo 阅读(2545) 评论(0) 推荐(0) 编辑
摘要: SendTextToAllUserAct.java package com.weixin.sendmessage; import org.apache.commons.lang.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.Sta 阅读全文
posted @ 2019-11-12 15:21 yvioo 阅读(2457) 评论(1) 推荐(1) 编辑
摘要: 官网接口地址:https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Creating_Custom-Defined_Menu.html //创建一个微信菜单实体类 WeixinMenu.java package com.weixi 阅读全文
posted @ 2019-11-12 13:57 yvioo 阅读(1563) 评论(0) 推荐(0) 编辑
摘要: Web项目实现在线预览浏览word、ppt、excel文档方法 调用以下链接 https://view.officeapps.live.com/op/view.aspx?src=你的文档绝对路径 这里路径要使用域名的方式(也可以是二级域名) 因为使用的是文档绝对路径,所以可能会出现文档泄密的问题! 阅读全文
posted @ 2019-11-04 16:34 yvioo 阅读(5807) 评论(0) 推荐(0) 编辑
摘要: 天气接口地址:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl 1、打开项目文件目录路径文件夹,在当前文件夹打开cmd,输入 wsimport -keep -p demo.cyj.service -verbose htt 阅读全文
posted @ 2019-10-30 18:18 yvioo 阅读(15838) 评论(0) 推荐(1) 编辑
摘要: 一、导入jar包 poi-3.7.jarpoi-scratchpad-3.7.jarpoi-examples-3.7.jarpoi-ooxml-3.7.jarpoi-ooxml-schemas-3.7.jar xmlbeans-2.3.0.jar maven <dependency> <groupI 阅读全文
posted @ 2019-10-17 10:23 yvioo 阅读(8757) 评论(4) 推荐(2) 编辑
摘要: 一、操作步骤 1、设置URL 2、设置请求模式:Post 3、设置Header:添加 Content-Type ,值为 text/xml;charset=utf-8 4、设置Body:勾选raw 5、输入Body内容:(详见 二) 二、请求WebService时的Body结构 <?xml versi 阅读全文
posted @ 2019-10-14 14:33 yvioo 阅读(2293) 评论(0) 推荐(0) 编辑
摘要: 对页面传入的参数值进行过滤,过滤方法如下 public static String xssEncode(String s) { if (s == null || s.equals("")) { return s; } try { s = URLDecoder.decode(s, "UTF-8"); 阅读全文
posted @ 2019-10-07 16:23 yvioo 阅读(2560) 评论(0) 推荐(0) 编辑
摘要: 新增一个拦截器,在拦截器doFilter()方法增加以下代码 阅读全文
posted @ 2019-10-07 16:03 yvioo 阅读(3487) 评论(0) 推荐(1) 编辑
摘要: 此方法需要自有服务器和域名,如果没有这些的开发者, 可以参考钉钉提供的内网穿透方式:https://www.cnblogs.com/pxblog/p/13862376.html 一、准备工作 1、域名 2、公网服务器 3、frp(下载地址:https://github.com/fatedier/fr 阅读全文
posted @ 2019-10-04 20:12 yvioo 阅读(960) 评论(0) 推荐(0) 编辑
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 67 下一页