上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
  2020年5月8日
摘要: application.properties server.port=8080 server.tomcat.max-connections=10000 server.tomcat.max-threads=10000 # redis配置 spring.redis.host=127.0.0.175 sp 阅读全文
posted @ 2020-05-08 19:48 北溟有鱼。 阅读(553) 评论(0) 推荐(0)
摘要: package com.intfish.util; import java.io.IOException; import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.Map; im 阅读全文
posted @ 2020-05-08 19:25 北溟有鱼。 阅读(695) 评论(0) 推荐(0)
摘要: package com.intfish.resourceserver.util; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.Version; import com.fa 阅读全文
posted @ 2020-05-08 19:24 北溟有鱼。 阅读(1524) 评论(1) 推荐(1)
摘要: github地址:https://github.com/intfish123/oauth.git 需要2个服务,一个认证授权服务,一个资源服务 认证授权服务为客户端颁发令牌,资源服务用于客户端获取用户信息。 1. 总体架构: 2.认证授权服务 pom文件: <?xml version="1.0" e 阅读全文
posted @ 2020-05-08 15:31 北溟有鱼。 阅读(893) 评论(0) 推荐(0)
  2020年4月24日
摘要: 读取配置文件连接mysql并查询 示例代码: SqlMonitoring.py import json import requests import mysql.connector import datetime from configparser import ConfigParser impor 阅读全文
posted @ 2020-04-24 18:25 北溟有鱼。 阅读(295) 评论(0) 推荐(0)
摘要: def sendmessage(url, msg, at_list=[]): """ 给钉钉发消息 """ HEADERS = { "Content-Type": "application/json ;charset=utf-8 " } # String_textMsg = { # "msgtype 阅读全文
posted @ 2020-04-24 18:19 北溟有鱼。 阅读(332) 评论(0) 推荐(0)
  2020年4月22日
摘要: * * $params$ * @author wangxiaolei * @date $date$ $time$ * @return $return$ */ groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\ 阅读全文
posted @ 2020-04-22 00:41 北溟有鱼。 阅读(187) 评论(0) 推荐(0)
  2020年4月17日
摘要: package com.example.test.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; imp 阅读全文
posted @ 2020-04-17 21:57 北溟有鱼。 阅读(186) 评论(0) 推荐(0)
摘要: package com.example.test.util; import java.util.ArrayList; import java.util.List; import java.util.Stack; public class FormulaUtils { /** * 转逆波兰表达式 "a 阅读全文
posted @ 2020-04-17 21:27 北溟有鱼。 阅读(186) 评论(0) 推荐(0)
  2020年4月16日
摘要: 1. 首先如果有自定义 WebMvcConfigurer 或者 WebMvcConfigurationSupport 的,一定不要在上面加 @EnableWebMvc 注解,因为这个注解会覆盖掉spring的默认配置,只使用 WebMvcConfigurationSupport 里面提供的配置!!! 阅读全文
posted @ 2020-04-16 22:14 北溟有鱼。 阅读(2857) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页