Route authority management based on vue
Preface
(this project is based on Vue CLI and layout, but the layout of background system is basically the same.)
There is a requirement to modify the existing management background to present different menu bars (in fact, routes) according to different users, as shown in the following figure
thinki ...
Posted by Volte6 on Tue, 03 Mar 2020 00:37:38 -0800
Dynamic filling data into HTML page through js
Under normal circumstances, it's more convenient to complete the function in JSP page. Compared with JSP page, it's more convenient to use, and there will be special circumstances. HTML page is needed to display the data, and the data needs to be acquired and displayed dynamically, so js method is us ...
Posted by nashyboy on Mon, 02 Mar 2020 21:48:54 -0800
Spring boot implements RESTful API to return unified data format
There are two aspects to Spring's global processing:
Unified data return format
Unified exception handling
General return value class definition:
public class GlobalResponse<T> implements POJO {
/**
*
*/
private static final long serialVersionUID = 1L;
@ApiModelProperty ...
Posted by plugnz on Mon, 02 Mar 2020 19:35:20 -0800
Spring MVC notes method parameters and handling ajax
Forwarding and redirection of spring MVC
Configuring the view parser in spring-mvc.xml
<!-- Try parser springMVC Managerial jsp File location should be in /WEB-INF/meto/ -->
<bean id="jspViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<prop ...
Posted by ayampanggang on Wed, 26 Feb 2020 20:29:22 -0800
Building a c + + environment for vscode development based on MinGW-w64 on win7 platform
1, Install plug-ins for vscode and cc + +
2, Install and configure MinGW-w64
1. Download and install
Download MinGW-w64 After downloading, install. During installation, you can customize or default the installation directory. Options to be set during installation:
Version: GCC version, select the ...
Posted by overlordhu on Tue, 25 Feb 2020 21:12:39 -0800
Business logic implementation of SMS verification code
Mobile phone verification code is a function that we use in our daily life
So let's assume that we can make this function work
There are many ways to achieve this. Some of them are in slow storage
Here I simply record the implementation process of the latter!
First, make a button to submit the u ...
Posted by tsilenzio on Tue, 25 Feb 2020 19:56:11 -0800
Problems encountered in obtaining key managed by alikms through alias
The company needs to use the kms key management service provided by Alibaba to verify that the service can be used normally. Use the test secret key resources applied by the company for testing.
1. Use the demo code provided by Alibaba to verify that it can read, encrypt and decrypt normally.
(ps: mainl ...
Posted by Meissa on Tue, 25 Feb 2020 19:27:53 -0800
Preparations for the newly downloaded laravel as an api service
If laravel is the back-end api framework, what initialization operations are required for the newly downloaded laravel?
Set time zone and language
config/app.php >
'timezone' => 'PRC', //time zone
'locale' => 'zh-CN', //Application locale configuration
// Other configurations not available ...
Posted by VertLime on Tue, 25 Feb 2020 05:17:26 -0800
Python Network Request library Requests, mom will never worry about my network Requests again
I. General Situation
Network request may be an important part of every language. In Python, although there is a native network request library such as urllib, some of its APIs are not very friendly to developers. So, the revolution of requests has begun. It not only humanizes the API, but also supports all features of urllib.
Requests supports ...
Posted by SEVIZ on Tue, 25 Feb 2020 02:05:02 -0800
TypeScript basic operation, configuration file tsconfig.json details, vscode and HBuilderX basic configuration
Node basic command
npm installation dependency
[npm install xxx] using npm to install xxx depends on the directory where the current command line is located
[npm install xxx -g] use npm to install global dependency xxx
[npm install xxx – save] install and write to "dependencies" of pac ...
Posted by techevan on Tue, 25 Feb 2020 01:21:36 -0800