`
文章列表
pom.xml ========================================== <!-- memecache spymemcached -->         <dependency>             <groupId>com.google.code.simple-spring-memcached</groupId>             <artifactId>spymemcached</artifactId>             <version>2.8.4</ve ...
<dependency>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-starter-actuator</artifactId>         </dependency> http://localhost:8080/health http://www.itnose.net/detail/6359648.html
pom.xml ========================================= <!-- Spring Boot mongodb 依赖 -->         <dependency>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-starter-data-mongodb</artifactId>         </dependency> ======= ...
pom.xml ========================================= <dependency>             <groupId>org.quartz-scheduler</groupId>             <artifactId>quartz</artifactId>         </dependency>         <dependency>             <groupId>org.springframework</groupI ...
全局异常拦截 //@ControllerAdvice(annotations=TestController.class) //@ControllerAdvice(basePackages={"com.aaa","com.bbb"}) @ControllerAdvice public class GlobalExceptionHandler {     @ExceptionHandler(ServiceException.class)     @ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)     //  ...
server: ======================================================= pom.xml ============================================= <!-- Spring Boot Dubbo 依赖 -->         <dependency>             <groupId>io.dubbo.springboot</groupId>             <artifactId>spring-boot-starter-dubbo& ...
pom.xml ======================================================= <dependency>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-starter-activemq</artifactId>         </dependency> ============================================ ...
application.properties ========================================== redis.host=host redis.port=6379 redis.timeout=2000 redis.password=pwd #最大分配的对象数 redis.pool.maxTotal=1024 #最大能够保持idel状态的对象数 redis.pool.maxIdle=200 redis.pool.minIdle=10 #当池内没有返回对象时,最大等待时间 redis.pool.maxWait=1000 #当调用borrow Object方法时,是否 ...
================================================ pom.xml ================================================ <!-- Spring Boot Web 依赖 -->         <dependency>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-starter-web</artifact ...
==================================================== logback.xml resource下添加xml文件 ==================================================== <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60" debug="false">     &l ...
IncpConfig.java 增加拦截器config 继承WebMvcConfigurerAdapter ============================ package org.spring.springboot.configs; import org.spring.springboot.interceptors.MyIncp1; import org.spring.springboot.interceptors.MyIncp2; import org.springframework.context.annotation.Configuration; import org.spri ...
pom.xml: ======================================= <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"          xsi:schemaLocation="http://maven.apache.org/P ...
Configuration:减少xml中配置,可以生命一个配置类来对bean进行配置 ======================================================= SpringConfig.java ============================ package org.spring.springboot.configs; import org.spring.springboot.web.Student; import org.springframework.context.annotation.Bean; import org.springfram ...
=================================================== application.properties 增加aop选项 =================================================== # AOP spring.aop.auto=true spring.aop.proxy-target-class=true 如果proxy-target-class 属性值被设置为true,那么基于类的代理将起作用(这时需要cglib库)。 如果proxy-target-class属值被设置为false或者这个属性被省略,那么标 ...

ios:jspatch

    博客分类:
  • ios
jspatch https://jspatch.com/Docs/intro //sdk https://jspatch.com/Index/sdk //语法 https://github.com/bang590/JSPatch/wiki/JSPatch-%E5%9F%BA%E7%A1%80%E7%94%A8%E6%B3%95 //实现原理 https://github.com/bang590/JSPatch/wiki/JSPatch-%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86%E8%AF%A6%E8%A7%A3 //使用 http://www.cnblog ...
Global site tag (gtag.js) - Google Analytics