2022年10月20日
摘要:
Mysql慢sql优化 index1.MySQL的执行过程2.索引的定义3.MySQL执行计划explain or desc4.索引使用/创建规则5.弊端6.设计规范7.SQL建议 1. MySQL 的执行过程 2.索引的定义 3.MySQL执行计划 explain or desc 3.MySQL执
阅读全文
posted @ 2022-10-20 18:58
oktokeep
阅读(358)
推荐(0)
2022年10月13日
摘要:
http请求方式-CloseableHttpClient import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.example.core.mydemo.http.OrderReqVO;
阅读全文
posted @ 2022-10-13 19:10
oktokeep
阅读(223)
推荐(0)
摘要:
http请求方式-HttpClient import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.example.core.mydemo.http.OrderReqVO; import o
阅读全文
posted @ 2022-10-13 19:10
oktokeep
阅读(130)
推荐(0)
摘要:
http请求方式-HttpURLConnection import com.alibaba.fastjson.JSON; import com.example.core.mydemo.http.OrderReqVO; import org.springframework.lang.Nullable;
阅读全文
posted @ 2022-10-13 19:09
oktokeep
阅读(111)
推荐(0)
摘要:
http请求方式-OkHttpClient import com.example.core.mydemo.http.OrderReqVO; import okhttp3.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; impor
阅读全文
posted @ 2022-10-13 19:09
oktokeep
阅读(143)
推荐(0)
摘要:
http请求方式-RestTemplate import com.alibaba.fastjson.JSON; import com.example.core.mydemo.http.OrderReqVO; import org.springframework.http.HttpEntity; im
阅读全文
posted @ 2022-10-13 19:08
oktokeep
阅读(60)
推荐(0)
2022年10月11日
摘要:
RequestBodyAdvice和注解方式进行统一参数处理demo @Target({ ElementType.METHOD, ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface
阅读全文
posted @ 2022-10-11 16:04
oktokeep
阅读(286)
推荐(0)
摘要:
Aspect切面进行统一参数处理demo //导入 implementation('org.springframework:spring-aspects:5.3.22') import com.example.mytester.entity.ClassRoom; import com.example
阅读全文
posted @ 2022-10-11 16:03
oktokeep
阅读(231)
推荐(0)
摘要:
Filter过滤器进行统一参数处理demo import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; i
阅读全文
posted @ 2022-10-11 16:03
oktokeep
阅读(110)
推荐(0)
摘要:
Interceptor拦截器demo ##接口测试类 @RestController public class TestController { @RequestMapping(value = "/myInterceptorsTestUrl", method = RequestMethod.GET)
阅读全文
posted @ 2022-10-11 16:02
oktokeep
阅读(73)
推荐(0)