赞
踩
一、项目介绍
环境配置:
Jdk1.8 + Tomcat8.5 + mysql + Eclispe(IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持)
项目技术:
Layui+Springboot+ SpringMVC + HTML + FTP+ JavaScript + JQuery + Ajax + maven等等。
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
public ResultData delete(Integer orderid,Integer orderStatus){ return bookOrderService.delete(orderid,orderStatus); } @RequestMapping("/bookOrder/toOrder") public String delete(Integer bookId,Model model){ Book book = bookService.findById(bookId); model.addAttribute("book",book); return "front/order"; } @RequestMapping("/bookOrder/toOrderCenter") public String toOrderCenter(HttpSession session,Model model){ /*Reader reader = (Reader)session.getAttribute("reader"); if(reader==null){ return new ResultData(2001,"用户未登陆",null); } int readerId = reader.getReaderId();*/
@ResponseBody public ResultData add(Author author){ return authorService.add(author); } /** * 编辑作者状态信息 * @param authorId : 当前作者Id * @param authorStatus: 作者当前状态 * @return */ @RequestMapping("/author/editStatus") @ResponseBody public ResultData editStatus(Integer authorId, Integer authorStatus){ return authorService.updateStatus(authorId, authorStatus); }
/** * 编辑作者状态信息 * @param authorId : 当前作者Id * @param authorStatus: 作者当前状态 * @return */ @RequestMapping("/author/editStatus") @ResponseBody public ResultData editStatus(Integer authorId, Integer authorStatus){ return authorService.updateStatus(authorId, authorStatus); } /** * 编辑作者 * @param * @param * @return */
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。