帮我将下面的内容翻译成英文并注意不要有语法和词汇错误:在经过系统需求分析、系统整体框架设计和数据库分析后本论文开始构建项目实现系统功能。根据第二章开发环境和主要技术的内容可知本系统采用前后端分离的方式前端项目和后端项目各一个文件包。本论文题目系统英文名称为Medecial insurance reimbursement information management system缩写为MRIS。下面
After system requirement analysis, system framework design, and database analysis, this paper began to construct the project implementation system. Based on the development environment and main technologies described in Chapter 2, the system adopts a front-end and back-end separation approach, with separate files for each project. The English name of the system in this paper is Medical Insurance Reimbursement Information Management System, abbreviated as MRIS. Figure 5-1 shows the front-end project file package named MRISFRONT, while Figure 5-2 shows the back-end project file package named MRIS.
Both file packages contain source code in the src directory. The views package under the front-end src directory, shown in Figure 5-3, is used to implement the main system interface, while the main package under the back-end src directory, shown in Figure 5-4, is used to implement the main system functions.
According to the specific requirements of the system and the interface design, the login interface of the system mainly implements the user login function. In addition, this module will also introduce how the system implements the password modification function.
Figure 5-5 shows the login interface of the system, with the system name and background image on the left and the user login function area on the right, including account, password, and verification code. The verification code is a combination of five alphanumeric characters. Figures 5-6 and 5-7 explain, with front-end and back-end code combinations, that the verification code is a SpringBoot controller method that uses the @GetMapping annotation to handle GET requests. Its function is to generate an image verification code, write it to the HttpServletResponse response stream, and display it on the front-end page. Specifically, the method accepts two parameters: HttpServletResponse object, used to return response data, and a String type uuid used to generate the verification code. First, set the response header information, then call the sysCaptchaService's getCaptcha method to generate the verification code image, write it to the response stream, and finally close the output stream to complete the response.
Figure 5-8 shows the interface when the verification code is incorrect in the user login function. Figure 5-9 explains the process of verifying the verification code in the user login function from the back-end code. The interface request method is POST, and the request address is "/sys/login". The interface needs to pass a SysLoginForm object as the request body parameter, including username, password, and verification code information. The verification code needs to be validated through the sysCaptchaService. If the verification code is incorrect, an error prompt of "Verification code incorrect" is returned. If the account or password is incorrect, an error prompt of "Account or password incorrect" is returned. If the account i
原文地址: https://www.cveoy.top/t/topic/flNL 著作权归作者所有。请勿转载和采集!