Springboot project development (three) file structure (personal financial management system)

1. Put shiro in common and the general class Msg that encapsulates json data.

2. The controller places all the controllers

3. An interceptor is placed on the interceptor to intercept the user's access to the website. Because of the shiro, it was actually useless afterwards.

4. The mapper places a general mapper based on mybatis, and the MySQL operation is greatly simplified.

5. Pojo places all classes https://blog.csdn.net/Luowaterbi/article/details/107693117

6, services place all service interfaces, and the implementation of each method in the impl file.

7. Resources-static put a static template.

     Resources-templates put the html of the page we wrote ourselves.

Guess you like

Origin blog.csdn.net/Luowaterbi/article/details/107690521