Wechat third party login redirect uuri parameter error

Wechat third party login First of all, the solution: wrong redirect uuri parameter Set the callback address in the open platform, for example, the address is www.niezhiliang.com. When generating the QR code, the callback can only write the address under the domain name You must add http or https to the callback address (yo ...

Posted by cnagra on Sat, 04 Jan 2020 23:01:04 -0800

Spring cloud spring boot mybatis distributed micro service Cloud Architecture Development Web Application

After completing the configuration, take a simple example. Based on the quick start project, take a simple example to render a page through Thymeleaf. @Controller public class HelloController { @RequestMapping("/") public String index(ModelMap map) { // Add a property to read from the template map.addAttribute(" ...

Posted by Paul Arnold on Tue, 31 Dec 2019 17:03:19 -0800

Spring boot integrated email sending

This section describes how to quickly configure and send mail for spring boot project, including simple mail configuration, sending simple mail, sending HTML mail, sending mail with attachments, etc. The sample source code is: https://github.com/laolunsi/spring-boot-examples I. mailbox configuration To ensure that the client login service is e ...

Posted by YourNameHere on Thu, 12 Dec 2019 13:41:06 -0800

Summary of springboot project

The first is the use of thmeleaf th: attr set property value https://blog.csdn.net/sun_jy2011/article/details/40215423 Some uses of th tag https://segmentfault.com/a/1190000009903821 Th: if th: text th: value th: selected, etc <a href="register.html" title="" th:unless="${session.user} ne null" >Register</a> ...

Posted by RightNow21 on Mon, 09 Dec 2019 07:31:48 -0800

springboot simple mail send

Reasons for writing: Near the end of the project, the requirements change again and again. In fact, the technical point has never changed. It's just the change of business logic and the function of sending e-mail reminders. It's changed seven times in two months. I want to record the technical points. It's not about the business here, it's only ...

Posted by GetPutDelete on Thu, 05 Dec 2019 09:49:23 -0800

springboot learning notes

(V) springboot integrates the thmeleaf template to realize simple login 1. Modify the user table in the note in the previous section, add a password field, and require the username to be UNIQUE to realize login verification. The table structure is as follows.   CREATE TABLE `user` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` var ...

Posted by James25 on Wed, 04 Dec 2019 21:47:35 -0800

Spring guide (learn about view templates)

Understanding view templates Model view controller (MVC) software design pattern is a method used to separate concerns in software applications. In principle, application logic or controller is separated from technology used to display information to users or view layers. This model is a communication tool between controller and view layers. Wi ...

Posted by cdherold on Tue, 03 Dec 2019 15:56:18 -0800

Java springcloud B2B2C o2o multi user shopping mall springcloud architecture validation form information

This article mainly describes how to verify form information in springboot. In the spring MVC project, the form information needs to be checked, and the form information verification is mainly in the form of annotation. Construction project To create a springboot project, because web, thymeleaf, validator and el are used, corresponding start ...

Posted by shiva on Sun, 01 Dec 2019 20:00:07 -0800

SpringBoot Integrated Security+Thymeleaf case

I. Introduction of relevant jar s 1) change the Thymeleaf version to 3, the Layout version to 2, and the integrated version of Security+Thymeleaf <properties> <java.version>1.8</java.version> <!--thymeleaf Switch to version 3, layout Switch to 2--> <thymeleaf.version>3.0.9.RELEASE< ...

Posted by Ace_Online on Sat, 30 Nov 2019 07:52:04 -0800

springboot 2.0.8 jump to html page

Spring boot project create link https://blog.csdn.net/q18771811872/article/details/88126835 Spring boot 2.0 jump to jsp tutorial https://blog.csdn.net/q18771811872/article/details/88342298 jsp+html jump integration https://blog.csdn.net/q18771811872/article/details/88343672   After the successful creation of springboot, continue to write a ...

Posted by jgmiddel on Sat, 30 Nov 2019 04:44:32 -0800