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

google建网站镇江网站推广优化

google建网站,镇江网站推广优化,安徽省建设工程造价管理总站网站,公司网站 模板一、#x1f4dd;功能介绍 基于SpringBoot Vue员工管理系统 角色#xff1a;管理员、用户 管理员#xff1a;管理员进入主页面#xff0c;主要功能包括系统首页、个人中心、员工管理、部门管理、请假申请管理、出勤记录管理、奖惩信息管理、工资信息管理等进行操作。 员…一、功能介绍 基于SpringBoot Vue员工管理系统 角色管理员、用户 管理员管理员进入主页面主要功能包括系统首页、个人中心、员工管理、部门管理、请假申请管理、出勤记录管理、奖惩信息管理、工资信息管理等进行操作。 员工员工登录系统后可以对系统首页、个人中心、请假申请管理、出勤记录管理、奖惩信息管理、工资信息管理等功能进行操作 二、技术介绍 开发语言Java 后端 SpringBootMybatis-Plus 前端Vue ElementUI Vue Router Axios 三、环境需要 开发工具IDEAEclipse,Myeclipse都可以。推荐IDEAvscode JDK版本1.8 数据库: MySQL5.7/MySQL8.0版本以上 项目管理Maven Node版本14 四、运行截图 1.文档截图 2.项目截图 五、项目相关代码 本项目是前后端分离开发可以学习拓展等等 /*** 上传文件映射表*/ RestController RequestMapping(file) SuppressWarnings({unchecked,rawtypes}) public class FileController{Autowiredprivate ConfigService configService;/*** 上传文件*/RequestMapping(/upload)IgnoreAuthpublic R upload(RequestParam(file) MultipartFile file,String type) throws Exception {if (file.isEmpty()) {throw new EIException(上传文件不能为空);}String fileExt file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(.)1);File path new File(ResourceUtils.getURL(classpath:static).getPath());if(!path.exists()) {path new File();}File upload new File(path.getAbsolutePath(),/upload/);if(!upload.exists()) {upload.mkdirs();}String fileName new Date().getTime().fileExt;File dest new File(upload.getAbsolutePath()/fileName);file.transferTo(dest);/*** 如果使用idea或者eclipse重启项目发现之前上传的图片或者文件丢失将下面一行代码注释打开* 请将以下的D:\\springbootq33sd\\src\\main\\resources\\static\\upload替换成你本地项目的upload路径* 并且项目路径不能存在中文、空格等特殊字符*/ // FileUtils.copyFile(dest, new File(D:\\springbootq33sd\\src\\main\\resources\\static\\upload/fileName)); /**修改了路径以后请将该行最前面的//注释去掉**/if(StringUtils.isNotBlank(type) type.equals(1)) {ConfigEntity configEntity configService.selectOne(new EntityWrapperConfigEntity().eq(name, faceFile));if(configEntitynull) {configEntity new ConfigEntity();configEntity.setName(faceFile);configEntity.setValue(fileName);} else {configEntity.setValue(fileName);}configService.insertOrUpdate(configEntity);}return R.ok().put(file, fileName);}/*** 下载文件*/IgnoreAuthRequestMapping(/download)public ResponseEntitybyte[] download(RequestParam String fileName) {try {File path new File(ResourceUtils.getURL(classpath:static).getPath());if(!path.exists()) {path new File();}File upload new File(path.getAbsolutePath(),/upload/);if(!upload.exists()) {upload.mkdirs();}File file new File(upload.getAbsolutePath()/fileName);if(file.exists()){/*if(!fileService.canRead(file, SessionManager.getSessionUser())){getResponse().sendError(403);}*/HttpHeaders headers new HttpHeaders();headers.setContentType(MediaType.APPLICATION_OCTET_STREAM); headers.setContentDispositionFormData(attachment, fileName); return new ResponseEntitybyte[](FileUtils.readFileToByteArray(file),headers, HttpStatus.CREATED);}} catch (IOException e) {e.printStackTrace();}return new ResponseEntitybyte[](HttpStatus.INTERNAL_SERVER_ERROR);}}
http://www.zqtcl.cn/news/17934/

相关文章:

  • 优惠券精选网站怎么做网站空间租用费用
  • 新一站保险网智慧团建网站首页
  • 龙江网站设计制作泰安市齐鲁人才网
  • 延安网站建设公司外国人搞笑做视频网站
  • 建立网站有什么好处中国国防新闻
  • 西安公司的网站建设长沙房地产交易网
  • 模板网站 动易mysql做网站
  • 一流的嘉兴网站建设买了域名怎么用
  • 帮朋友做网站 知乎网站备案为什么要关闭
  • 网站建设需要用到的技术有没有哪些可以看片的
  • 织梦cms网站seo推广有用吗
  • 厦门网站怎么做青海西宁网站建设
  • 网站建设团购佳木斯市郊区建设局网站
  • 南宁建企业网站公司黄石网站建设哪家好
  • 怎么仿做网站单位网站设计制作
  • 北京公司注册流程及需要的材料seo是什么意思啊电商
  • seo站点是什么意思青岛seo关键词优化排名
  • 建设银行网站点不了建网站需要什么步骤
  • 齐齐哈尔网站seo个人怎么做网页
  • 泌阳县住房建设局网站网站建设步骤及推广方法
  • wordpress搜索筛选商城网站优化方案
  • 更换网站空间网络公司经营范围开发属于制造吗
  • 有没有关于网站开发的名人访谈深圳网站建设价格
  • 公司网站被抄袭中国著名设计建筑
  • 重庆装修工人哪里找嘉定网站设计制作优化排名
  • 给一个公司做网站需要多久上海单位名称大全
  • 威海网站建设网站开发项目报价
  • 厦门网站制最新的新闻 今天
  • 山西做杂粮的网站怎么查询公司网站备案
  • 东台网站建设jsp购物网站开发环境