Smart recruitment applet based on WeChat applet

Contact at the end of the article to obtain the source code

Development language: Java

Framework: ssm

JDK version: JDK1.8

Server: tomcat7

Database: mysql 5.7/8.0

Database tool: Navicat11

Development software: eclipse/myeclipse/idea

Maven package: Maven3.3.9

Browser: Google Chrome

Small program framework: uniapp

Small program development software: HBuilder X

Small program running software: WeChat developer

1. Introduction 

In the 21st century, the network and computer have developed rapidly and are closely integrated with life. At present, the operating speed of the network has reached Gigabit, and the coverage is even deeper into the footsteps of life. This prompted the development of office systems. Online office can realize remote processing affairs, submit work remotely and track the status of work at any time. The online office system brings people an unprecedented experience and meets people's office needs in the new era, so the online office system model has been vigorously developed.

This system is a WeChat smart recruitment applet, which is an online talent recruitment platform developed using WeChat and network technology, which can realize talent review, recruitment, application, etc. The system uses JAVA language, the database is MySQL, and the operating environment is WeChat developer tools. Use roles are divided into users, administrators, and enterprises. The functions of this system include recruitment information management, application information management, collection information management, and post information management. Among them, users are responsible for browsing information, applying for jobs, and querying application results. Enterprises can review user applications, and administrators can review user information, company information, recruitment information, and application information. This system realizes the online recruitment and application of talents, facilitates the interests of users, administrators, and enterprises, improves the efficiency of recruitment, and is more in line with modern life. 

2. System function analysis 

I refer to a large number of recruitment management software and fully investigate the needs of users, administrators, and companies who need to apply, and design this WeChat smart recruitment applet to use the roles of users, administrators, and companies. The framework interface is divided into user operation interface, administrator operation interface, and enterprise operation interface.

2.1 User's Functional Design

(1) Registration function, you can fill in the necessary information to register; 

(2) Application function, this interface displays different job information, and you can upload application materials as required; 

(3) Recruitment information query function, all positions are displayed in this interface, and specific position information can be queried;

(4) My collection management function, you can manage your own collection information.

2.2 Administrator's function design

(1) Application information management function, which can publish, edit, and delete application information; 

(2) Recruitment information management function, this function can receive the recruitment materials of the enterprise, and can conduct recruitment review according to the actual situation; 

(3) User information management function, which can audit and manage user accounts and data; (4) System management function, which can manage carousel maps and recruitment information; 

(5) Enterprise information management function, to review the registration information of the enterprise;

(6) Personal center function to manage passwords and personal information.

2.3 Functional design of the enterprise

(1) Recruitment information function, which can publish new positions and management positions;

(2) Application information function, view the user's application information and reply. 

2.4 System function structure

The functional structure of the system is the frame of system realization, and the main structure of the system is administrator, user and enterprise. The functions of the administrator are system management, user management, recruitment management, application management, and enterprise management. The functions of the user are applying for employment, inquiring about recruitment, and managing personal collections. The function of the enterprise is to publish recruitment and review applications. The functional structure diagram of the WeChat smart recruitment applet is shown in the following figure: 

3. Interface realization of user role function

3.1 Interface implementation of user registration function

Both users and enterprises need to register first, and can log in only after successful registration. In the registration interface, you need to fill in the password and account name. The user registration interface is separate from the enterprise registration interface. The user registration operation interface is shown in the figure below: 

3.2 Interface implementation of login function

After the system is running and debugging, you need to log in. The purpose of the login interface design is to ensure the current role level used. Administrators also need to log in before they can operate. Added the function of forgetting the password in the login interface, when the password is lost, you can use this function to retrieve it. When logging in, you only need to fill in the user account and password, and select the permissions to achieve it. The running interface for user login is shown in the figure below: 

The elements included in the login interface are system title, input box, login button, and selection box. The authority to use this system is administrators, users, and enterprises. The operation interface of the permission selection box is shown in the figure below:

3.3 Interface realization of job application function 

The function of the user is mainly to apply for a position. When applying for a position, you need to fill in your name, major, resume and other information. The operation interface of job application function is as shown in the figure below: 

3.4 Implementation interface of recruitment information query function 

Users can browse all job information in the recruitment information, and can also bookmark the jobs they like. The operation interface of the recruitment information query function is shown in the figure below: 

Fourth, the interface realization of enterprise role function

4.1 Interface realization of recruitment information management function 

Enterprises can publish new recruitment positions, and the posted recruitment positions can be displayed on the homepage. The implementation interface for posting new job information is shown in the figure below: 

4.2 Implementation interface of the application review function 

The enterprise can review the application materials after receiving them, and the next interview can only be carried out after the user passes the review. The implementation interface of the application review function is shown in the figure below: 

Five, the design and implementation of the administrator function

5.1 Realization interface of user information management function 

The user's information can be added by the administrator. The purpose of this function is to add and review the user's information, and the user can delete his account if it is found to be improperly used. When the user information is deleted, the information in the corresponding user information table will also be deleted. The operation interface of query user information function is shown in the figure below: 

5.2 Realization interface of personal center function

The content of the personal center includes the modification of the current login account and the modification of the password information. There can be multiple administrators in this system. The running interface of the personal center function is shown in the figure below: 

5.3 The real-time interface of the recruitment information management function 

The recruitments browsed by users are maintained and added by administrators and companies in this function. Similarly, when administrators add and edit recruitment information, the recruitment information in the database table will also change. The operation interface of the recruitment information management function is shown in the figure below: 

Can be reset and submitted when adding job information. The operation interface for posting new recruitment information is as shown in the figure below

5.4 Realization interface of application information management function 

All the materials applied by the user can be seen in this interface, and the administrator can query the specific application information according to the job title. You can click on the details to learn more about the application and review it. The operation interface of the application information management function is shown in the figure below:

When the administrator clicks the application approval function, he will enter this interface, and the application approval information includes the approval status and content. The application review operation interface is shown in the figure below: 

5.5 Interface Realization of Enterprise Management Functions 

The administrator can review the information of the enterprise to ensure the authenticity of the enterprise and provide protection for the user's application. The implementation interface of the enterprise management function is shown in the figure below: 

5.6 Interface Realization of System Management Function

Including the management and setting of news information and carousels. The implementation interface of the system management function is shown in the figure below: 

6. Part of the core code

6.1 Main code of login system

/**
	 * 登录
	 */
	@IgnoreAuth
	@RequestMapping(value = "/login")
	public R login(String username, String password, String captcha, HttpServletRequest request) {
		YonghuEntity user = yonghuService.selectOne(new EntityWrapper<YonghuEntity>().eq("yonghuzhanghao", username));
		if(user==null || !user.getMima().equals(password)) {
			return R.error("账号或密码不正确");
		}
		
		String token = tokenService.generateToken(user.getId(), username,"yonghu",  "用户" );
		return R.ok().put("token", token);
	}

6.2 Upload file key code

@RequestMapping("/upload")
	public R upload(@RequestParam("file") MultipartFile file,String type) throws Exception {
		if (file.isEmpty()) {
			throw new EIException("上传文件不能为空");
		}
		String fileExt = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1);
		File path = new File(ResourceUtils.getURL("classpath:static").getPath());
		if(!path.exists()) {
		    path = new File("");
		}
		File upload = new File(path.getAbsolutePath(),"/upload/");
		if(!upload.exists()) {
		    upload.mkdirs();
		}
		String fileName = new Date().getTime()+"."+fileExt;
		File dest = new File(upload.getAbsolutePath()+"/"+fileName);
		file.transferTo(dest);
		/**
  		 * 如果使用idea或者eclipse重启项目,发现之前上传的图片或者文件丢失,将下面一行代码注释打开
   		 * 请将以下的"D:\\springbootq33sd\\src\\main\\resources\\static\\upload"替换成你本地项目的upload路径,
 		 * 并且项目路径不能存在中文、空格等特殊字符
 		 */
//		FileUtils.copyFile(dest, new File("D:\\springbootq33sd\\src\\main\\resources\\static\\upload"+"/"+fileName)); /**修改了路径以后请将该行最前面的//注释去掉**/
		if(StringUtils.isNotBlank(type) && type.equals("1")) {
			ConfigEntity configEntity = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile"));
			if(configEntity==null) {
				configEntity = new ConfigEntity();
				configEntity.setName("faceFile");
				configEntity.setValue(fileName);
			} else {
				configEntity.setValue(fileName);
			}
			configService.insertOrUpdate(configEntity);
		}
		return R.ok().put("file", fileName);
	}

Guess you like

Origin blog.csdn.net/qq_61827376/article/details/129067175