Springboot+logback detailed configuration

Add dependencies Springboot3.0.2 is used here rely <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.32</version> </dependency> “ application.yml placement spring: application: name: chapter002 profiles: active: dev Detailed configuration of logback logback-spring.xml yml file # You can also use a custom name,for examplelogback-config.xml,Just need to be inapplication.ymlJust specify it in the file: logging: config: classpath:logback-config.xml logback-spring.xmlDetailed…

Read More

[Vue] Use axios locally to call third-party interfaces and handle cross-domain

Front End Processing Cross Domain 1. Development Preparation Development Tools: VScode Framework: Vue2 Project Structure: Standard Projects Generated by vue Scaffolding (Main Sections Only) Locally established port: 8080 Third-party interface to request: http://1.11.1.111: port number/xxx-api/code Notice:The front-end environment has been set up,must ensureaxios Downloaded II. Requirement Analysis The verification code of the front-end login page…

Read More

Detailed explanation of obtaining request parameters in SpringMVC

Article Directory Obtained through ServletAPI Obtain the request parameters through the formal parameters of the controller method 3、[@RequestParam ](/RequestParam ) 4、[@RequestHeader ](/RequestHeader ) 5、[@CookieValue ](/CookieValue ) Obtain request parameters through POJO Solve the garbled problem of obtaining request parameters Summarize In Spring MVC, there are many ways to obtain request parameters. Let's start with a…

Read More

Django learning

1.Pycharm community edition creating Django PyCharm Community Edition How to Create a Django Project and Run \ _ pycharm Community Edition Open django-CSDN Blog 2.Django TemplateDoesNotExist: rest_framework When we use the djangorestframework framework, we first download the pip install djangorestframework. Reference blog post Django Template DoesNotExist: rest \ _ framework-CSDN blog 3.Rest \ _ framework…

Read More

[Literature] Ruby gene related literature

First publications He, Y., Zhang, T., Sun, H. et al. A reporter for noninvasively monitoring gene expression and plant transformation. Hortic Res 7, 152 (2020). https://doi.org/10.1038/s41438-020-00390-1 Ruby gene sequence The 2A peptide sequences of tobacco and Arabidopsis are different. How to design 2A peptide? We took advantage of the P2A peptide, which has the sequence of (GSGATNFSLLKQAGDVEENPGP), to link…

Read More