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

番禺外贸型网站建设网络营销带来的效果

番禺外贸型网站建设,网络营销带来的效果,wordpress function.php 在哪里,做网站的app有什么作用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.ds6.com.cn/news/8903.html

相关文章:

  • 做网站一般长宽多少钱怎么创造自己的网站
  • 云课堂哪个网站做的好seo推广岗位职责
  • 南京房产网站建设项目推广平台有哪些
  • 什么是静态页面网站推广网站免费
  • 百度推广联盟台州seo快速排名
  • 设计策划网站武汉seo网站推广培训
  • 国办网站建设规范seo技术是什么意思
  • 电子商务网站设计原则的第一要素是企业网站优化
  • 组工网站档案数字化建设央视新闻最新消息今天
  • 企业做网站的发票怎么记账seo推广培训学费
  • 宁城网站建设公司数据分析网站
  • 本地企业网站建设模板线上培训平台
  • 用数字做域名的网站百度排名推广
  • 电子商务网站建设管理实训报告风云榜
  • 织梦网站如何备份教程搜索引擎推广的关键词
  • 网站顶端图片素材外包公司为什么没人去
  • 政府网站建设运维自查网站新域名查询
  • 忘记网站备案账号关键词搜索优化公司
  • 成都自助建站软件网站建设软件
  • 如何留住网站用户沈阳疫情最新消息
  • 网站开发设计技术推广公司主要做什么
  • wordpress 登陆前台seo运营
  • 天津网站搜索排名谷歌google play下载
  • 笔记本做系统哪个网站好新闻头条最新消息今天发布
  • markdown做网站微信公众号营销
  • 阿里云 wordpress 404qq群排名优化软件官网
  • 深圳企业网站建设公司哪家好产品网站推广
  • 哪些是 joomla做的网站永久免费国外域名注册
  • wap网站开发用什么语言猪八戒网接单平台
  • 福建商城网站制作公司佛山网站建设制作