Operating environment:
Development tools: IDEA /Eclipse
Database: mysql5 seven
Application service: Tomcat7/Tomcat8
Using framework ssm
Project introduction
With the development of the times, tourism has become one of many leisure ways for people in their spare time. It is the only choice for many people to take their family to a beautiful place with pleasant scenery through self driving. But many times people don't know where the scenic spots are more suitable for tourism, and people don't know much about some unknown scenic spots. If they go directly to the scenic spots blindly, they may disappoint themselves. In order to let more people who love tourism know more scenic spot information, we have developed this tourism website
The website system uses dynamic web page development SSM framework, Java as the system development language and MySQL as the background database. Design and develop a system with administrator; Home page, personal center, user management, scenic spot information management, ticket purchase information management, hotel information management, room type management, hotel reservation management, my collection management, message board management, scenic spot forum, system management, user; Home page, personal center, ticket information management, hotel reservation management, my collection management, front page; Home page, scenic spot information, hotel information, scenic spot forum, tourism information, message feedback, personal center, background management and other functions of tourism management platform. In the design process, the system code has the characteristics of good readability, practicability, easy expansibility, universality, easy later maintenance, convenient operation and simple page
design sketch
Controller class /** * Login related */ @RequestMapping("config") @RestController public class ConfigController{ @Autowired private ConfigService configService; /** * list */ @RequestMapping("/page") public R page(@RequestParam Map<String, Object> params,ConfigEntity config){ EntityWrapper<ConfigEntity> ew = new EntityWrapper<ConfigEntity>(); PageUtils page = configService.queryPage(params); return R.ok().put("data", page); } /** * list */ @IgnoreAuth @RequestMapping("/list") public R list(@RequestParam Map<String, Object> params,ConfigEntity config){ EntityWrapper<ConfigEntity> ew = new EntityWrapper<ConfigEntity>(); PageUtils page = configService.queryPage(params); return R.ok().put("data", page); } /** * information */ @RequestMapping("/info/{id}") public R info(@PathVariable("id") String id){ ConfigEntity config = configService.selectById(id); return R.ok().put("data", config); } /** * details */ @IgnoreAuth @RequestMapping("/detail/{id}") public R detail(@PathVariable("id") String id){ ConfigEntity config = configService.selectById(id); return R.ok().put("data", config); } /** * Get information by name */ @RequestMapping("/info") public R infoByName(@RequestParam String name){ ConfigEntity config = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile")); return R.ok().put("data", config); } /** * preservation */ @PostMapping("/save") public R save(@RequestBody ConfigEntity config){ // ValidatorUtils.validateEntity(config); configService.insert(config); return R.ok(); } /** * modify */ @RequestMapping("/update") public R update(@RequestBody ConfigEntity config){ // ValidatorUtils.validateEntity(config); configService.updateById(config);//Update all return R.ok(); } /** * delete */ @RequestMapping("/delete") public R delete(@RequestBody Long[] ids){ configService.deleteBatchIds(Arrays.asList(ids)); return R.ok(); } }
catalogue
Summary I
Abstracts I
Directory I
Chapter 1 Introduction 1
1.1 subject background 1
1.2 research significance 1
1.3 research contents 2
Chapter 2 technical introduction 2
2.1 related technologies 3
2.2 Java technology 3
2.3 MySQL database 4
2.4 introduction to Tomcat 4
2.5 ssm frame5
Chapter 3 demand analysis 5
3.1 demand analysis overview 6
3.2 feasibility analysis 6
3.2.1 economic feasibility 6
3.2.2 technical feasibility 7
3.3 system function design 7
Chapter 4 system design 7
4.1 system structure design 7
4.2 database design 8
4.2.1 entity ER figure 8
4.2.2 data sheet 10
Chapter 5 system implementation 14
5.1 administrator function module 14
5.2 front page function module 18
5.3 user function module 18
Chapter 6 system test 23
6.1 test definition and purpose 23
6.2 test methods 23
6.3 test module 24
6.4 test results 25
Conclusion 26
Thanks 27
References 28