栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

基于SpringBoot+Html的前后端分离的学习平台(附源码+项目展示)

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

基于SpringBoot+Html的前后端分离的学习平台(附源码+项目展示)

使用技术:

后端:SpringBoot+MYbatis-plus+SpringMvc

前端:html+css+js+layui+ajax

数据库:Mysql

功能模块:

系统分为用户端和管理员端

用户端:

  • 用户登录注册

  • 课程查看,用户可以点击课程学习,每个课程有自己的视频资料,章节资料,还会有自己的练习题

  • 咨询查看

  • 题库(模拟测试+刷题)

  • 关于我们:调用百度地图展示地图信息

  • 个人中心,课程收藏,错题收藏等等

  • 讲师,用户可以关注自己喜欢的讲师,查看讲师的课程

管理员端:

  • 管理员登录

  • 系统首页,Echars图表展示

  • 课程管理:章节列表管理,题库管理,视频管理

  • 用户管理:讲师列表,讲师标签,学生列表

  • 资讯管理:资讯列表

  • 分类信息:课程分类管理

  • 系统管理:系统管理员管理,轮播图管理

package com.hp.controller.reception;
​
import com.hp.bean.base.ControllerResultData;
import com.hp.bean.entity.backstage.Banner;
import com.hp.service.reception.BannerServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
​
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
​

@RestController
public class BannerController {
​
    @Autowired
    private BannerServices bannerServices;
​
    
    @RequestMapping("/reception/banner/findList")
    public ControllerResultData> findList(Banner banner){
        return bannerServices.findList(banner);
    }
​
    
    @RequestMapping("/reception/banner/delByIds")
    public ControllerResultData delByIds(String ids) {
        List list = new ArrayList<>();
        String[] ids1 = ids.split(",");
        for (int i = 0; i < ids1.length; i++) {
            list.add(Integer.parseInt(ids1[i]));
        }
        return  bannerServices.delBannerByIds(list);
    }
​
​
    
    @PostMapping("/reception/banner/insert")
    public ControllerResultData insert(Banner banner){
        return bannerServices.insert(banner);
    }
    
    @PostMapping("/reception/banner/updateById")
    public ControllerResultData updateById(Banner banner){
        return bannerServices.updateById(banner);
    }
​
    
    @PostMapping("/reception/banner/uploadBannerImg")
    public ControllerResultData uploadLessonImg(@RequestParam("file")MultipartFile filename, Banner banner) throws IOException {
        return bannerServices.uploadBannerImg(filename,banner);
    }
    
    @PostMapping("/reception/banner/updateStatus")
    public ControllerResultData updateStatus(Banner banner){
        return bannerServices.updateStatus(banner);
    }
}

源码直达:me: javahttps://gitee.com/wuyanzua/me

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/830381.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号