上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页
摘要: import com.sun.mail.imap.IMAPFolder; import com.sun.mail.imap.protocol.IMAPProtocol; import org.apache.tomcat.util.http.fileupload.IOUtils; import org 阅读全文
posted @ 2020-08-06 17:50 凉城 阅读(2016) 评论(0) 推荐(1) 编辑
摘要: package top.my.test.case1; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import ja 阅读全文
posted @ 2020-07-24 17:54 凉城 阅读(537) 评论(0) 推荐(0) 编辑
摘要: public static JSONObject getToken(String appId,String appSecret){ String url="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&app 阅读全文
posted @ 2020-07-17 11:52 凉城 阅读(821) 评论(0) 推荐(0) 编辑
摘要: package com.test; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; 阅读全文
posted @ 2020-07-02 09:22 凉城 阅读(7037) 评论(0) 推荐(0) 编辑
摘要: import java.io.BufferedReader; import java.io.CharArrayWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java. 阅读全文
posted @ 2020-06-30 14:30 凉城 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 1、自动配置类: @Configuration public class AutoConfiguration { @Bean public ServletRegistrationBean registrationAxisServlet(AxisServlet axisServlet) { Servl 阅读全文
posted @ 2020-06-23 11:12 凉城 阅读(3700) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.App 阅读全文
posted @ 2020-06-23 10:46 凉城 阅读(2393) 评论(0) 推荐(0) 编辑
摘要: public static String toUtf8String(String s) { StringBuffer sb = new StringBuffer(); for (int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (c 阅读全文
posted @ 2020-06-09 16:30 凉城 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 经测试确认,当一个接口有多个实现时,调用时只会执行一个 有时候需要多个实现调用,方法示例如下: public interface TransCallbackInterface { public void callback(String taskId, int code, String fixed); 阅读全文
posted @ 2020-05-15 20:13 凉城 阅读(5571) 评论(0) 推荐(0) 编辑
摘要: public ResponseEntity<FileSystemResource> export(File file) { if (file == null) { return null; } HttpHeaders headers = new HttpHeaders(); headers.add( 阅读全文
posted @ 2020-05-11 19:41 凉城 阅读(8772) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页