Sharing and downloading functions of applet JAVA in action (69)

We can't share the circle of friends on the applet, we can only spread it by sending the designated users and the designated user group. It's very important to master the sharing function! Source code: https://github.com/limingios/wxProgram.git No.15 and springboot in Official introduction https://developers.weixin.qq.com/miniprogram/dev/frame ...

Posted by ok on Mon, 23 Mar 2020 11:52:07 +0100

[learning notes] configuration files, yaml syntax, configuration injection and loose binding of SpringBoot

configuration file There are two configuration file formats for SpringBoot. You can choose one of them. yaml is officially recommended: Format of application.properties key=value application.yaml key: value format Profile location SpringBoot loads the main configuration file from all four locations; complementary configuration. Priority is fr ...

Posted by Jackanape on Fri, 20 Mar 2020 16:09:56 +0100

SpringBoot Integrates AOP Recording Interface Access Logs

Reference resources: SpringBoot Integration AOP AOP AOP is the abbreviation of Aspect Oriented Programming, which means: facet-oriented programming, a technology for unified maintenance of program functions through precompilation and run-time dynamic agents.With AOP, individual parts of business logic ...

Posted by qbox on Fri, 13 Mar 2020 03:40:43 +0100

@Scheduled for SpringBoot Source Analysis

Springboot can accomplish timed tasks by annotating @Scheduled. Here's a little bit of analysis of its source code @Service public class MyScheduled { @Scheduled(cron="${time.cron}") void paoapaoScheduled() { System.out.println("Execute at " + System.currentTimeMillis()); } } ...

Posted by successor on Tue, 03 Mar 2020 02:03:22 +0100

Thousands of duplicate submissions in an instant, and I'm holding them with SpringBoot+Redis

In actual development projects, an exposed interface often faces a large number of requests submitted in an instant. If you want to filter out duplicate requests and cause harm to your business, you need to achieve power! Let's explain the concept of idempotency: Any multiple executions will have the same impact as a single execution.In ...

Posted by Sheen on Sat, 29 Feb 2020 05:01:13 +0100

SpringBoot default JSON resolution scheme

1. What is JSON JSON (JavaScript Object Notation) is an open standard data exchange format based on a subset of JavaScript syntax.JSON is text-based, lightweight, and is generally considered easy to read/write. Okay, let's not talk a lot. Here's how to use JSON in SpringBoot. 2. How to use JSON in S ...

Posted by spicey on Sat, 15 Feb 2020 07:16:23 +0100

SpringBoot global configuration file application.yml

From other frameworks, we have our own configuration files. hibernate has hbm, mybatis has properties, and SpringBoot also has global configuration files. Spring boot uses a global configuration file, and the name of the configuration file is fixed. (you can start by yourself, but you need to specif ...

Posted by keyboard on Fri, 07 Feb 2020 14:53:49 +0100

Using external Servlet container in SpringBoot

1, Comparison between the spring boot embedded Servlet container and the external Servlet container The embedded Servlet container application packs the program as Jar package, and the external Servlet container application packs the program as War package. Advantages of embedded Servlet container: s ...

Posted by halfman on Tue, 04 Feb 2020 18:49:04 +0100

idea creates maven's springboot project

1. Create a project: 1. Create a new project: 2. Click next 3. Choice dependency: Select a web project here 4. Customize the project name and path: The structure path of the created project is as follows: Project Start: Click Run to run The startup log is as follows: Indicates ...

Posted by l9pt5 on Sat, 01 Feb 2020 05:52:48 +0100

Vue+mavonEditor+spring Boot image upload and echo

1. Preface Recently, we are using vue and springboot to develop a project, which has a function of using markdown editor to write articles. In it, images will be uploaded. At the beginning, the images can't be displayed. However, by looking at all kinds of data, we have finally made it. Now I'll talk ...

Posted by fordiman on Fri, 31 Jan 2020 06:15:04 +0100