Spring Boot tutorial - swagger UI
1. What is Swagger?
Swagger Gamma The goal is to define a standard, language independent interface for REST APIs, so that people and computers can discover and understand the functions of various services without seeing the source code, documents or network traffic detection. When services are defined by swagge ...
Posted on Sat, 23 May 2020 09:55:48 -0700 by YorkshireSteve
tyboot simple function demonstration without sql encoding
Example project interface screenshot
The following are the interface features for this demonstration to demonstrate simple tyboot-based encod ...
Posted on Tue, 05 May 2020 03:38:28 -0700 by ukphoto
Reference Using STS to create a Spring Boot project Create a new Spring Boot project, and select Web, JPA, MySQL and other options when creating the project.
Configuration information in application.yml
shitibean based on annotation
Simple application based on JPA interface
Multi table and multi condition dynamic combined query and paging and ...
Posted on Sat, 02 May 2020 00:50:20 -0700 by gloeilamp
There are many websocket server implementations on the Internet. The popular one is the spring boot starter websocket of spring boot itself. As for the client, the current popular one is the Java websocket framework. Here is an example of the okhttp framework:
1. Introduction of okhttp:
Posted on Wed, 29 Apr 2020 21:59:02 -0700 by jcubie
A back-end interface is roughly divided into four parts: interface address (url), interface request mode (get, post, and so on), request data (request), response data (response).How to build these parts is different for each company. There is no "must be the best" standard, but a good back-end interface is quite different fro ...
Posted on Thu, 23 Apr 2020 09:57:53 -0700 by discostudio
Complete code implementation at the bottom of the article
We may encounter the following problems:
A small project of the company has been split into two services, API and Background Management, but since they share a database, there are many identical database entity definitions.
Therefore, we have to provide the same entity definiti ...
Posted on Wed, 22 Apr 2020 20:04:52 -0700 by harkly
The original link address of this article: http://nullpointer.pw/mapstruct%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5.html
According to the daily development habits, different JavaBean objects are used to transfer data for different domain layers to avoid mutual influence. Therefore, based on the database entity object User, objects such as Us ...
Posted on Sat, 21 Mar 2020 06:44:22 -0700 by BLottman
In a project, there are inevitably various exceptions. We hope that the exception information can be as detailed as possible, including the response status code, the response string exception information, and even the operation time, etc., so that we can easily and quickly locate the location where the exception occurs. Therefore, the exception ...
Posted on Sun, 08 Mar 2020 22:27:26 -0700 by MetaDark
By default, Security does not support SMS verification code login, so the whole authentication process needs to be developed by ourselves. Here we will explain in several articles. This article only completes sending mobile verification code
SMS verification code entity class
Spring security core project com.spring.securi ...
Posted on Tue, 03 Mar 2020 02:43:58 -0800 by aksival
1, Call the unified order API and return the prepayment information
JSAPi payment development document https://pay.weixin.qq.com/wiki/doc/api/JSAPi.php? Chapter = 7.u4
Introducing third-party wechat payment SDK
Posted on Sat, 29 Feb 2020 23:56:30 -0800 by msore