This PR replaces the JFinal framework with the Spring Boot framework in the jfinal-cms-shop project. The JFinal framework has been replaced with Spring Boot to improve the maintainability and flexibility of the project. The ORM framework used is JPA.
PR Feedback (click)
Description
This PR replaces the JFinal framework with the Spring Boot framework in the jfinal-cms-shop project. The JFinal framework has been replaced with Spring Boot to improve the maintainability and flexibility of the project. The ORM framework used is JPA.
Summary of Changes
Modified
jfinal-cms/cms-api/src/main/java/com.gz.common/SpringBootApp.java
:@SpringBootApplication
annotation.SpringApplication.run
method.Modified
jfinal-cms/cms-api/src/main/java/com.gz.controller/IndexController.java
:@RestController
annotation.renderJson
method with Spring Boot's@ResponseBody
annotation.getPara
method with Spring Boot's@RequestParam
annotation.Modified
jfinal-cms/cms-api/src/main/java/com.gz.controller/MiniProgramController.java
:@RestController
annotation.renderJson
method with Spring Boot's@ResponseBody
annotation.getPara
method with Spring Boot's@RequestParam
annotation.Modified
jfinal-cms/cms-admin/src/main/java/com.gz.common/AppConfig.java
:@Configuration
annotation.configConstant
,configRoute
,configPlugin
,configInterceptor
, andconfigHandler
methods with Spring Boot's@Bean
methods.Modified
jfinal-cms/cms-admin/src/main/java/com.gz.controller/FileToolController.java
:@RestController
annotation.renderJson
method with Spring Boot's@ResponseBody
annotation.getPara
method with Spring Boot's@RequestParam
annotation.Modified
jfinal-cms/cms-admin/src/main/java/com.gz.controller/IndexController.java
:@RestController
annotation.renderJson
method with Spring Boot's@ResponseBody
annotation.getPara
method with Spring Boot's@RequestParam
annotation.Modified
jfinal-cms/cms-admin/src/main/java/com.gz.controller/ProductController.java
:@RestController
annotation.renderJson
method with Spring Boot's@ResponseBody
annotation.getPara
method with Spring Boot's@RequestParam
annotation.Modified
jfinal-cms/cms-admin/src/main/java/com.gz.controller/UserController.java
:@RestController
annotation.renderJson
method with Spring Boot's@ResponseBody
annotation.getPara
method with Spring Boot's@RequestParam
annotation.Modified
jfinal-cms/cms-model/src/main/java/com.gz.common.model/*.java
:@Entity
annotation.@Autowired
annotation and a reference to a JpaRepository interface.Modified
jfinal-cms/cms-service/src/main/java/com.gz.common/*.java
:@Service
annotation.@Autowired
annotation and a reference to a JpaRepository interface.No changes were required in the utility classes (
jfinal-cms/cms-util/src/main/java/com.gz.utils/*.java
) as they do not depend on the JFinal framework.Please review and merge this PR to complete the replacement of the JFinal framework with the Spring Boot framework.
Fixes #9.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: