springboot Computer Shop Project 6. Added receipt address 7. Provincial and Urban Display
6. Added receipt address
1. New Receipt Address-Database Table Creation
CREATE TABLE t_address (
aid INT AUTO_INCREMENT COMMENT 'Receipt address id',
uid INT COMMENT 'Owned User id',
name VARCHAR(20) COMMENT 'Consignee Name',
province_name VARCHAR(15) COMMENT 'province-Name',
province_code CHAR(6) COMMENT 'province-Administrative Code',
c ...
Posted by jiehuang001 on Wed, 02 Feb 2022 05:36:06 +0100
Crazy liver strongest Java EE framework high-intensity learning
SpringBean container: Beans are java objects. The container is responsible for the management of the whole life cycle of java objects, including creation, modification and destruction
IOC control reversal IOC: it's an idea IOC container: the implementation container of IOC thought
DI One of the ways to implement IOC, dependency injection, is ...
Posted by Stalingrad on Tue, 01 Feb 2022 20:09:21 +0100
springboot integrates spring security to realize authentication and authorization functions. A simple entry case
1, Introduction to spring security
Spring Security is a security framework that can provide declarative security access control solutions for spring based enterprise applications. It provides a set of beans that can be configured in the spring application context, making full use of the functions of Spring IoC, DI (inversion of control, DI ...
Posted by chriztofur on Tue, 01 Feb 2022 18:31:48 +0100
First knowledge of distributed lock: analysis of ZooKeeper distributed lock principle and practical case
First knowledge of distributed lock (II): analysis of ZooKeeper distributed lock principle and practical cases
It's not easy to write. Praise and collect attention so that you can see it next time. Thank you for your support ~
Last time we talked about using Mysql database to realize distributed locking. It is relatively simple to implem ...
Posted by mattvenables on Tue, 01 Feb 2022 01:27:39 +0100
[SpringBoot] SpringBoot - Spring Security Framework
6. Spring Boot Security Framework
6.1 Understanding Spring Security
Spring Security is dedicated to providing Authentication and Authorization management for Java applications.
Certification: This is mainly to solve the problem of who I am by providing evidence to prove that you are the person you say.
Authorization: This is mainly to ...
Posted by darklight on Mon, 31 Jan 2022 19:04:21 +0100
Quickly get started with Spring Boot project development
1. Start Spring Boot project from scratch
Spring Boot can quickly build Java Web applications based on spring framework and quickly integrate various frameworks including view layer, MVC architecture and persistence layer. It does not need to be manually configured by developers. Spring Boot will realize automatic assembly. This p ...
Posted by MMeticulous on Mon, 31 Jan 2022 18:46:57 +0100
Spring security notes 04 modifying user permissions
We often encounter such scenarios as dynamic permission adjustment. For example, Zhang San is a department head and does not have the permission to delete employee data, but his superiors trust Zhang San and want to entrust this function to Zhang San.
Let's first log in with Zhang San (xsc001):
Let's look at Zhang San's role permissions prin ...
Posted by iJoseph on Mon, 31 Jan 2022 17:07:15 +0100
SpringBoot+Maven multi module aggregation POM XML common configuration
1, Two ways to judge the version of jar
In Maven, the role of dependency management is actually equivalent to a manager for version management of dependent jar packages. It is the default dependency information inherited from all subprojects of the project. pom. There are two ways to judge the version of jar in XML file:
If the dependency in ...
Posted by kra on Mon, 31 Jan 2022 15:03:56 +0100
SpringBoot realizes Guangzhou healthpass vaccine appointment reminder
1, Foreword
Finally, when it's time to get the second shot of vaccine, I have no choice but to open the "Guangzhou Health Link" or "Guangdong Health Link" applet every time. Every time, I am booked. Guangzhou has a large population. Maybe many people have been waiting for the number in front of the applet, so this article w ...
Posted by steveswt on Mon, 31 Jan 2022 13:14:55 +0100
@ControllerAdvice handling exception
@ControllerAdvice handling exception
spring boot uses @ ControllerAdvice to handle exceptions thrown in the Controller.
In Spring 3.2, @ ControllerAdvice, @ RestControllerAdvice annotations are added, which can be used to define @ ExceptionHandler, @ InitBinder, @ ModelAttribute, and applied to all @ RequestMapping, @ PostMapping, @ GetMapping ...
Posted by ceemac on Mon, 31 Jan 2022 09:35:49 +0100