• 计算机毕业设计选题推荐-课程学习微信小程序/安卓APP-项目实战


    作者主页:IT研究室✨
    个人简介:曾从事计算机专业培训教学,擅长Java、Python、微信小程序、Golang、安卓Android等项目实战。接项目定制开发、代码讲解、答辩教学、文档编写、降重等。
    ☑文末获取源码☑
    精彩专栏推荐⬇⬇⬇
    Java项目
    Python项目
    安卓项目
    微信小程序项目

    一、前言

    在当今数字化时代,互联网技术的快速发展以及移动设备的普及,为在线教育提供了新的契机。微信小程序和安卓APP等移动应用已经成为人们获取教育资源的重要途径。特别是在高校环境中,学生、老师和管理人员都需要一个便捷的平台来进行课程管理、学习和交流。因此,开发一款针对课程学习的微信小程序/安卓APP具有鲜明的必要性。

    尽管目前已经存在一些课程管理工具,但它们主要集中在简单的信息发布和作业提交上,无法满足多元化和个性化的学习需求。此外,这些工具通常只提供基础的课程信息管理,缺乏对课程学习和作业批改的整合,使得学习过程变得繁琐且低效。因此,我们需要一个更加便捷的解决方案来解决这些问题。

    本课题旨在开发一款针对课程学习的微信小程序/安卓APP,以满足学生、老师和管理人员在不同场景下的需求。具体功能包括课程分类管理、课程信息管理、课程学习管理、课后作业管理以及作业批改管理等。通过这款应用,用户可以轻松地浏览和选择课程,管理学习进度,以及跟进和评估作业完成情况。

    本课题的研究意义在于提供了一个集成的在线学习平台,可以大大提高学生的学习效率,增强学习的自主性。同时,对于老师和管理人员来说,这款应用也提供了方便的工具来管理和监控学生的学习进度。此外,通过数据分析和挖掘,这款应用还可以帮助用户更好地理解学习过程,优化学习策略,提高学习效果。

    二、开发环境

    • 开发语言:Java
    • 数据库:MySQL
    • 系统架构:B/S
    • 后端:SpringBoot
    • 前端:微信小程序/Android+uniapp+Vue

    三、系统界面展示

    • 课程学习微信小程序/安卓APP界面展示:
      课程学习微信小程序/安卓APP-课程信息
      课程学习微信小程序/安卓APP-课程详情
      课程学习微信小程序/安卓APP-提交学习进度
      课程学习微信小程序/安卓APP-提交作业任务
      课程学习微信小程序/安卓APP-课程信息管理
      课程学习微信小程序/安卓APP-课后作业管理
      课程学习微信小程序/安卓APP-课程分类管理

    四、代码参考

    • 项目实战代码参考:
    @Controller
    @RequestMapping("/admin")
    public class AdminController {
    
        @Resource(name = "studentServiceImpl")
        private StudentService studentService;
    
        @Resource(name = "teacherServiceImpl")
        private TeacherService teacherService;
    
        @Resource(name = "courseServiceImpl")
        private CourseService courseService;
    
        @Resource(name = "studentCourseServiceImpl")
        private StudentCourseService studentCourseService;
    
        @Resource(name = "userloginServiceImpl")
        private UserloginService userloginService;
    
        /* ----- 普通方法区 START ----- */
    
        /**
         * List转List
         * @param courseList
         * @return
         * @throws Exception
         */
        List getCourseCustomList(List courseList) throws Exception{
            List list = new ArrayList();
    
            for (Course course : courseList) {
                CourseCustom courseCustom = new CourseCustom();
                BeanUtils.copyProperties(course,courseCustom);
    
                Integer teacherId = course.getTeacherId();
    
                if(teacherId != null) {
                    Teacher teacher = teacherService.findById(teacherId);
                    String teacherName = teacher.getName();
                    courseCustom.setTeacherName(teacherName);
                } else {
                    courseCustom.setTeacherName("");
                }
    
                list.add(courseCustom);
            }
            return list;
        }
    
        /**
         * Course转CourseCustom
         * @param course
         * @return
         * @throws Exception
         */
        CourseCustom getCourseCustom(Course course) throws Exception{
            CourseCustom courseCustom = new CourseCustom();
            BeanUtils.copyProperties(course,courseCustom);
    
            Integer teacherId = course.getTeacherId();
    
            if(teacherId != null) {
                Teacher teacher = teacherService.findById(teacherId);
                String teacherName = teacher.getName();
                courseCustom.setTeacherName(teacherName);
            } else {
                courseCustom.setTeacherName("");
            }
            return courseCustom;
        }
    
        /* ----- 普通方法区 END ----- */
    
    
        /* ----- 课程管理区 START ----- */
    
        @RequestMapping("/showCourse")
        public String showCourse(Model model, Integer page) throws Exception {
    
            List list = null;
            //页码对象
            PagingVO pagingVO = new PagingVO();
            //设置总页数
            pagingVO.setTotalCount(courseService.getCountCourse());
            if (page == null || page == 0) {
                pagingVO.setToPageNo(1);
                list = courseService.findByPaging(1);
            } else {
                pagingVO.setToPageNo(page);
                list = courseService.findByPaging(page);
            }
    
            List courseCustomList = getCourseCustomList(list);
    
            model.addAttribute("courseCustomList", courseCustomList);
            model.addAttribute("pagingVO", pagingVO);
    
            return "admin/showCourse";
    
        }
    
        @RequestMapping(value = "/editCourse", method = {RequestMethod.GET})
        public String editCourseUI(Integer id, Model model) throws Exception {
            if (id == null) {
                return "redirect:/admin/showCourse";
            }
            Course course = courseService.findById(id);
            if (course == null) {
                throw new CustomException("未找到该课程");
            }
            List list = teacherService.findAll();
    
            model.addAttribute("teacherList", list);
            model.addAttribute("course", course);
    
            return "admin/editCourse";
        }
    
        @RequestMapping(value = "/editCourse", method = {RequestMethod.POST})
        public String editCourse(Course course) throws Exception {
    
            courseService.upadteById(course);
    
            return "redirect:/admin/showCourse";
        }
    
        @RequestMapping("/removeCourse")
        public String removeCourse(Integer id) throws Exception {
            if (id == null) {
                return "admin/showCourse";
            }
    
            boolean flag = courseService.removeById(id);
    
            //删除失败,说明selectCourse表中存在关联数据,先删除关联信息
            while(flag == false) {
                List lists = studentCourseService.findByCourseID(id);
                for (StudentCourse studentCourse: lists) {
                    studentCourseService.remove(studentCourse);
                }
                flag = courseService.removeById(id);
            }
    
            return "redirect:/admin/showCourse";
        }
    
        @RequestMapping(value = "/selectCourse", method = {RequestMethod.POST})
        public String selectCourse(String name, Model model) throws Exception {
    
            List list = courseService.findByName(name);
    
            List courseCustomList = getCourseCustomList(list);
    
            model.addAttribute("courseCustomList", courseCustomList);
    
            return "admin/showCourse";
        }
    
        @RequestMapping(value = "/addCourse", method = {RequestMethod.GET})
        public String addCourseUI(Model model) throws Exception {
    
            List list = teacherService.findAll();
    
            model.addAttribute("teacherList", list);
    
            return "admin/addCourse";
        }
    
        @RequestMapping(value = "/addCourse", method = {RequestMethod.POST})
        public String addCourse(Course course) throws Exception {
    
            courseService.save(course);
    
            return "redirect:/admin/showCourse";
        }
    
        /* ----- 课程管理区 END ----- */
    
    
        /* ----- 学生管理区 START ----- */
    
        @RequestMapping("/showStudent")
        public String showStudent(Model model, Integer page) throws Exception {
            List list = null;
            //页码对象
            PagingVO pagingVO = new PagingVO();
            //设置总页数
            pagingVO.setTotalCount(studentService.getCountStudent());
            if (page == null || page == 0) {
                pagingVO.setToPageNo(1);
                list = studentService.findByPaging(1);
            } else {
                pagingVO.setToPageNo(page);
                list = studentService.findByPaging(page);
            }
    
            model.addAttribute("studentList", list);
            model.addAttribute("pagingVO", pagingVO);
    
            return "admin/showStudent";
    
        }
    
        @RequestMapping(value = "/addStudent", method = {RequestMethod.GET})
        public String addStudentUI() throws Exception {
            return "admin/addStudent";
        }
    
        @RequestMapping(value = "/addStudent", method = {RequestMethod.POST})
        public String addStudent(Student student) throws Exception {
            Userlogin userlogin = null;
            if(userlogin != null) {
                throw new CustomException("该名称已被注册,无法添加!");
            } else {
                userlogin = new Userlogin();
                userlogin.setName(student.getName());
                userlogin.setPassword(SHA1Utils.entryptPassword(GlobalConstant.DEFAULT_PASSWD));
                userlogin.setRole(GlobalConstant.ROle_Type.STUDENT.getIndex());
                userloginService.save(userlogin);
    
                student.setId(userlogin.getId());
                student.setBalance(GlobalConstant.DEFAULT_BALANCE);
                studentService.save(student);
            }
    
            return "redirect:/admin/showStudent";
        }
    
        @RequestMapping(value = "/editStudent", method = {RequestMethod.GET})
        public String editStudentUI(Integer id, Model model) throws Exception {
            Student student = null;
    
            student = studentService.findById(id);
            if(student == null) {
                throw new CustomException("该用户不存在!");
            }
    
            model.addAttribute("student", student);
    
            return "admin/editStudent";
        }
    
        @RequestMapping(value = "/editStudent", method = {RequestMethod.POST})
        public String editStudent(Student student) throws Exception {
    
            Userlogin userLogin = userloginService.findById(student.getId());
            userLogin.setName(student.getName());
            userloginService.updateById(student.getId(),userLogin);
    
            studentService.updataById(student);
    
            return "redirect:/admin/showStudent";
        }
    
        @RequestMapping(value = "/removeStudent", method = {RequestMethod.GET} )
        public String removeStudent(Integer id) throws Exception {
            boolean flag = studentService.removeById(id);
            //flag false 表示该学生有课程,递归删除该学生课程
            while(flag == false){
                List lists = studentCourseService.findByStudentID(id);
                for (StudentCourse studentCourse: lists) {
                    studentCourseService.remove(studentCourse);
                }
                flag = studentService.removeById(id);
            }
    
            userloginService.removeById(id);
    
            return "redirect:/admin/showStudent";
        }
    
        @RequestMapping(value = "selectStudent", method = {RequestMethod.POST})
        public String selectStudent(String name, Model model) throws Exception {
    
            List list = studentService.findByName(name);
    
            model.addAttribute("studentList", list);
            return "admin/showStudent";
        }
    
        /* ----- 学生管理区 END ----- */
    
    
        /* ----- 教师管理区 START ----- */
    
        @RequestMapping("/showTeacher")
        public String showTeacher(Model model, Integer page) throws Exception {
    
            List list = null;
            //页码对象
            PagingVO pagingVO = new PagingVO();
            //设置总页数
            pagingVO.setTotalCount(teacherService.getCountTeacher());
            if (page == null || page == 0) {
                pagingVO.setToPageNo(1);
                list = teacherService.findByPaging(1);
            } else {
                pagingVO.setToPageNo(page);
                list = teacherService.findByPaging(page);
            }
    
            model.addAttribute("teacherList", list);
            model.addAttribute("pagingVO", pagingVO);
    
            return "admin/showTeacher";
    
        }
    
        @RequestMapping(value = "/addTeacher", method = {RequestMethod.GET})
        public String addTeacherUI() throws Exception {
    
            return "admin/addTeacher";
        }
    
        @RequestMapping(value = "/addTeacher", method = {RequestMethod.POST})
        public String addTeacher(Teacher teacher) throws Exception {
            Userlogin userlogin = null;
            userlogin = userloginService.findByName(teacher.getName());
            if(userlogin != null) {
                throw new CustomException("该名称已被注册,无法注册!");
            } else {
                userlogin = new Userlogin();
                userlogin.setName(teacher.getName());
                userlogin.setPassword(SHA1Utils.entryptPassword(GlobalConstant.DEFAULT_PASSWD));
                userlogin.setRole(GlobalConstant.ROle_Type.TEACHER.getIndex());
                userloginService.save(userlogin);
    
                teacher.setId(userlogin.getId());
                teacherService.save(teacher);
    
            }
            return "redirect:/admin/showTeacher";
        }
    
        @RequestMapping(value = "/editTeacher", method = {RequestMethod.GET})
        public String editTeacherUI(Integer id, Model model) throws Exception {
            Teacher teacher = teacherService.findById(id);
            if (teacher == null) {
                throw new CustomException("未找到该教师");
            }
            model.addAttribute("teacher", teacher);
    
            return "admin/editTeacher";
        }
    
        @RequestMapping(value = "/editTeacher", method = {RequestMethod.POST})
        public String editTeacher(Teacher teacher) throws Exception {
            teacherService.updateById(teacher);
    
            return "redirect:/admin/showTeacher";
        }
    
        @RequestMapping("/removeTeacher")
        public String removeTeacher(Integer id) throws Exception {
            boolean flag = teacherService.removeById(id);
            if(flag == false) {
                throw new CustomException("该老师存在相应课程,无法删除");
            }
            userloginService.removeById(id);
            return "redirect:/admin/showTeacher";
        }
    
        @RequestMapping(value = "selectTeacher", method = {RequestMethod.POST})
        public String selectTeacher(String name, Model model) throws Exception {
    
            List list = teacherService.findByName(name);
    
            model.addAttribute("teacherList", list);
            return "admin/showTeacher";
        }
    
        /* ----- 教师管理区 END ----- */
    
    
        /* ----- 其他区 START ----- */
    
        @RequestMapping(value = "/logout")
        public String logout(){
            return "redirect:/logout";
        }
    
         /**
         * 普通用户密码重置UI处理
         * @return
         * @throws Exception
         */
        @RequestMapping("/userPasswordRest")
        public String userPasswordRestUI() throws Exception {
            return "admin/userPasswordRest";
        }
    
        /**
         * 普通用户密码重置处理函数
         * @param userlogin Userlogin对象
         * @return
         * @throws Exception
         */
        @RequestMapping(value = "/userPasswordRest", method = {RequestMethod.POST})
        public String userPasswordRest(Userlogin userlogin) throws Exception {
    
            Userlogin u = userloginService.findByName(userlogin.getName());
    
            if (u != null) {
                if (u.getRole() == 0) {
                    throw new CustomException("该账户为管理员账户,无法修改");
                }
                u.setPassword(SHA1Utils.entryptPassword(userlogin.getPassword()));
                userloginService.updateByName(userlogin.getName(), u);
            } else {
                throw new CustomException("未找到该用户");
            }
    
            return "admin/userPasswordRest";
        }
    
        /**
         * 重置当前账户密码
         * @return
         * @throws Exception
         */
        @RequestMapping("/passwordRest")
        public String passwordRestUI() throws Exception {
            return "admin/passwordRest";
        }
    
        /* ----- 其他区 END ----- */
    }
    
    • 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
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241
    • 242
    • 243
    • 244
    • 245
    • 246
    • 247
    • 248
    • 249
    • 250
    • 251
    • 252
    • 253
    • 254
    • 255
    • 256
    • 257
    • 258
    • 259
    • 260
    • 261
    • 262
    • 263
    • 264
    • 265
    • 266
    • 267
    • 268
    • 269
    • 270
    • 271
    • 272
    • 273
    • 274
    • 275
    • 276
    • 277
    • 278
    • 279
    • 280
    • 281
    • 282
    • 283
    • 284
    • 285
    • 286
    • 287
    • 288
    • 289
    • 290
    • 291
    • 292
    • 293
    • 294
    • 295
    • 296
    • 297
    • 298
    • 299
    • 300
    • 301
    • 302
    • 303
    • 304
    • 305
    • 306
    • 307
    • 308
    • 309
    • 310
    • 311
    • 312
    • 313
    • 314
    • 315
    • 316
    • 317
    • 318
    • 319
    • 320
    • 321
    • 322
    • 323
    • 324
    • 325
    • 326
    • 327
    • 328
    • 329
    • 330
    • 331
    • 332
    • 333
    • 334
    • 335
    • 336
    • 337
    • 338
    • 339
    • 340
    • 341
    • 342
    • 343
    • 344
    • 345
    • 346
    • 347
    • 348
    • 349
    • 350
    • 351
    • 352
    • 353
    • 354
    • 355
    • 356
    • 357
    • 358
    • 359
    • 360
    • 361
    • 362
    • 363
    • 364
    • 365
    • 366
    • 367
    • 368
    • 369
    • 370
    • 371
    • 372
    • 373
    • 374
    • 375
    • 376
    • 377
    • 378
    • 379
    • 380
    • 381
    • 382
    • 383
    • 384
    • 385
    • 386
    • 387
    • 388
    • 389
    • 390
    • 391
    • 392
    • 393
    • 394
    • 395
    • 396
    • 397
    • 398
    • 399
    • 400
    • 401
    • 402
    • 403
    • 404
    • 405
    • 406
    • 407
    • 408
    • 409
    • 410
    • 411
    • 412
    • 413
    • 414
    • 415
    • 416
    • 417
    • 418
    • 419
    • 420
    • 421
    • 422
    • 423
    • 424
    • 425
    • 426
    • 427
    @Controller
    public class RestPasswordController {
    
        @Resource(name = "userloginServiceImpl")
        private UserloginService userloginService;
    
        /**
         * 重置当前账户密码
         * @param oldPassword
         * @param password1
         * @return
         * @throws Exception
         */
        @RequestMapping(value = "/passwordRest", method = {RequestMethod.POST})
        public String passwordRest(String oldPassword, String password1) throws Exception {
            Subject subject = SecurityUtils.getSubject();
            String username = (String) subject.getPrincipal();
    
            Userlogin userlogin = userloginService.findByName(username);
    
            if (!SHA1Utils.validatePassword(oldPassword,userlogin.getPassword())) {
                throw new CustomException("旧密码不正确");
            } else {
                userlogin.setPassword(SHA1Utils.entryptPassword(password1));
                userloginService.updateByName(username, userlogin);
            }
    
            return "redirect:/logout";
        }
    
    }
    
    
    • 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

    五、论文参考

    • 计算机毕业设计选题推荐-课程学习微信小程序/安卓APP论文参考:
      计算机毕业设计选题推荐-课程学习微信小程序/安卓APP论文参考

    六、系统视频

    课程学习微信小程序/安卓APP项目视频:

    计算机毕业设计选题推荐-课程学习课微信小程序/安卓APP

    结语

    计算机毕业设计选题推荐-课程学习微信小程序/安卓APP-项目实战
    大家可以帮忙点赞、收藏、关注、评论啦~
    源码获取:私信我

    精彩专栏推荐⬇⬇⬇
    Java项目
    Python项目
    安卓项目
    微信小程序项目

  • 相关阅读:
    R包WGCNA---转录组WGCNA共表达网络构建(基本概念)
    MMSegmentation系列之训练与推理自己的数据集(三)
    学习路之api --接口文档和常见的状态码
    【第四章】详解Feign的实现原理
    消费品赛道新趋势洞察,赋能品牌数字化增长
    搞懂 Dubbo 入门理论,这一篇就够
    助力查处非法占地现象 | 湖北某审计部门借助Bigemap开展自然资源资产审计工作
    python将红底证件照转成蓝底
    三战MySQL数据库【终极篇】
    如果不封车,坚持冬天骑行应该注意些什么?
  • 原文地址:https://blog.csdn.net/2301_79456892/article/details/134386301