当前位置: 首页 > news >正文

番禺外贸型网站建设seo技术分享博客

番禺外贸型网站建设,seo技术分享博客,做banner的网站,长沙定制网站SSM SpringBoot vue 在线教学质量评价系统 SSM 在线教学质量评价系统 功能介绍 首页 图片轮播展示 登录 学生注册 教师注册 督导注册 教师展示 教师详情 学生评价 课程信息 课程详情 提交选修该课 学生选课 学生留言 个人中心 后台管理 管理员或学生或教师或督导登录 个人中…

SSM SpringBoot vue 在线教学质量评价系统

SSM 在线教学质量评价系统 功能介绍

首页 图片轮播展示 登录 学生注册 教师注册 督导注册 教师展示 教师详情 学生评价 课程信息 课程详情 提交选修该课 学生选课 学生留言 个人中心

后台管理 管理员或学生或教师或督导登录 个人中心 学生管理 教师管理 督导管理 学生评价管理 课程信息管理 学生选课管理 教师授课管理 申请督导听课管理 督导评价管理 听课结果通知管理 听课通知邮件管理 学生留言管理 督导留言管理 轮播图管理

角色:学生 教师 督导 超级管理员

使用技术

  • SSM(Spring + SpringMVC + Mybaits)或SpringBoot框架

  • Mybaits

  • Mysql数据库

  • vue

功能展示

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

文件上传下载代码

FileController.java

package com.controller;import java.io.File;
import java.io.IOException;
import java.util.Date;import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
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 com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.ConfigEntity;
import com.entity.EIException;
import com.service.ConfigService;
import com.utils.R;/*** 上传文件映射表*/
@RestController
@RequestMapping("file")
@SuppressWarnings({"unchecked","rawtypes"})
public class FileController{@Autowiredprivate ConfigService configService;/*** 上传文件*/@RequestMapping("/upload")public R upload(@RequestParam("file") MultipartFile file, String type,HttpServletRequest request) throws Exception {if (file.isEmpty()) {throw new EIException("上传文件不能为空");}String fileExt = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")+1);String fileName = new Date().getTime()+"."+fileExt;File dest = new File(request.getSession().getServletContext().getRealPath("/upload")+"/"+fileName);file.transferTo(dest);if(StringUtils.isNotBlank(type) && type.equals("1")) {ConfigEntity configEntity = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile"));if(configEntity==null) {configEntity = new ConfigEntity();configEntity.setName("faceFile");configEntity.setValue(fileName);} else {configEntity.setValue(fileName);}configService.insertOrUpdate(configEntity);}return R.ok().put("file", fileName);}/*** 下载文件*/@IgnoreAuth@RequestMapping("/download")public void download(@RequestParam String fileName, HttpServletRequest request, HttpServletResponse response) {try {File file = new File(request.getSession().getServletContext().getRealPath("/upload")+"/"+fileName);if (file.exists()) {response.reset();response.setHeader("Content-Disposition", "attachment; filename=\"" + fileName+"\"");response.setHeader("Cache-Control", "no-cache");response.setHeader("Access-Control-Allow-Credentials", "true");response.setContentType("application/octet-stream; charset=UTF-8");IOUtils.write(FileUtils.readFileToByteArray(file), response.getOutputStream());}} catch (IOException e) {e.printStackTrace();}}}

运行

创建数据库, 然后修改数据库连接相关信息。

配置tomcat运行

前台访问地址: http://localhost:8080/ssm/front/index.html

注册或使用账号:111 密码:111

后台访问地址:http://localhost:8080/ssm/admin/dist/index.html

管理员账号:liang 密码:liang

http://www.khdw.cn/news/5099.html

相关文章:

  • 做网站必须有框架是吗全网推广公司
  • 文化网站前置审批手机百度下载免费安装
  • 关键词网站排名软件长沙seo结算
  • 商城 网站 功能优化大师下载安装app
  • dw 做网站图片之间的链接百度推广怎么提高关键词排名
  • 多语言网站如何开发网站管理和维护的主要工作有哪些
  • 网站优化建设绵阳重庆seo教程搜索引擎优化
  • 电商网站设计系列百度爱采购官网首页
  • 互联网技术的作用免费seo网站推广
  • 网页qq邮箱登录成都网站排名优化公司
  • 公司做网站能抵扣进项税吗班级优化大师官网
  • 交三百能在网站上找兼职做的关键词智能优化排名
  • 网站后台管理系统论文优化网络推广外包
  • 做影视网站怎么样不犯法关键词是怎么排名的
  • 私人让做彩票网站吗国外独立站网站
  • 怎样才能创建网站网站运营专员
  • 情人做网站seo关键词工具
  • 电子商务网站建设评价seo服务公司上海
  • 做网站有兼职的吗网络推广视频
  • 站长工具5118sem和seo是什么职业岗位
  • 公司企业做网站违法吗爱站关键词挖掘软件
  • 手机源码网aso排名优化知识
  • wordpress 菜单编辑百度seo关键词排名优化教程
  • 做 直销网站 公司百度在线咨询
  • 禹州做网站bz3399百度信息流
  • 北京做网站源代码的广州seo优化外包服务
  • 如何利用站群做网站网站数据查询
  • 鞍山网站深圳seo顾问
  • 博彩网站做代理郑州seo哪家专业
  • 怎样做网站的测试与维护seo的中文名是什么