博主主页:猫头鹰源码

博主简介:Java领域优质创作者、博客专家、公司架构师、全网粉丝5万+、专注Java技术领域和毕业设计项目实战

主要内容:毕业设计(Javaweb项目|小程序等)、简历模板、学习资料、面试题库、技术咨询

项目介绍: 

本系统为最新原创项目,采用前后端分离,项目代码工整,结构清晰,适合选题:华扬商城、购物商城、前后端分离类其他商城等。系统采用springboot+vue整合开发,前端主要使用了element-ui框架、项目后端主要使用了springboot,数据层采用mybatis。

部分功能:

基于springboot+vue的华扬商城(前后端分离)_后端

系统包含技术:

后端:springboot,mybatis
前端:element-ui、js、css等
开发工具:idea/vscode
数据库:mysql 5.7
JDK版本:jdk1.8

文档:

基于springboot+vue的华扬商城(前后端分离)_spring boot_02

部分截图说明:

首页

基于springboot+vue的华扬商城(前后端分离)_spring boot_03

详情

基于springboot+vue的华扬商城(前后端分离)_vue.js_04

评论

基于springboot+vue的华扬商城(前后端分离)_vue.js_05

购物车

基于springboot+vue的华扬商城(前后端分离)_spring boot_06

个人中心

基于springboot+vue的华扬商城(前后端分离)_java_07

登录

基于springboot+vue的华扬商城(前后端分离)_vue.js_08

用户管理

基于springboot+vue的华扬商城(前后端分离)_spring_09

商家管理

基于springboot+vue的华扬商城(前后端分离)_spring_10

分类管理

基于springboot+vue的华扬商城(前后端分离)_spring_11

商品管理

基于springboot+vue的华扬商城(前后端分离)_后端_12

部分代码:

/**
     * 分页查询
     */
    @PostMapping("selectAll")
    public PageInfo<Comment> selectAll(@RequestBody Map<String,String> mp) {
        PageHelper.startPage(Integer.parseInt(mp.get("currentPage").toString()), Integer.parseInt(mp.get("pagesize").toString()));
        List<Comment> list = commentService.queryAllByLimit(mp);
        PageInfo<Comment> pageInfo = new PageInfo<Comment>(list);
        return pageInfo;
    }


    /**
     * 全部查询
     */
    @PostMapping("selectAll2")
    public List<Comment> selectAll2(@RequestBody Map<String,String> mp) {
        List<Comment> list = commentService.queryAllByLimit(mp);
        return list;
    }


    /**
     * 回复
     */
    @RequestMapping("edit")
    public String edit(@RequestBody Comment comment) {
        try {
            Date date = new Date();
            comment.setReplyTime(date);
            commentService.update(comment);
            return "200";
        }catch (Exception e){
            e.printStackTrace();
            return "201";
        }
    }

    /**
     * 编辑
     */
    @RequestMapping("edit2")
    public String edit2(@RequestBody Comment comment) {
        try {
            commentService.update(comment);
            return "200";
        }catch (Exception e){
            e.printStackTrace();
            return "201";
        }
    }

    /**
     * 新增
     */
    @RequestMapping("add")
    public String add(@RequestBody Comment comment) {
        try {
            Date date = new Date();
            comment.setCreateTime(date);
            commentService.insert(comment);
            return "200";
        }catch (Exception e){
            e.printStackTrace();
            return "201";
        }
    }
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.

以上就是部分功能展示,从整体上来看,本系统功能是十分完整的,界面设计简洁大方,交互友好,数据库设计也很合理,规模适中,代码工整,清晰,适合学习使用。

好了,今天就到这儿吧,小伙伴们点赞、收藏、评论,一键三连走起呀,下期见~