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

做旅游攻略网站网页制作app手机版

做旅游攻略网站,网页制作app手机版,做一钓鱼网站,北京宏福建设有限公司网站#x1f34a;作者#xff1a;计算机编程-吉哥 #x1f34a;简介#xff1a;专业从事JavaWeb程序开发#xff0c;微信小程序开发#xff0c;定制化项目、 源码、代码讲解、文档撰写、ppt制作。做自己喜欢的事#xff0c;生活就是快乐的。 #x1f34a;心愿#xff1a;点… 作者计算机编程-吉哥 简介专业从事JavaWeb程序开发微信小程序开发定制化项目、 源码、代码讲解、文档撰写、ppt制作。做自己喜欢的事生活就是快乐的。 心愿点赞 收藏 ⭐评论 文末获取源码联系 精彩专栏推荐订阅 不然下次找不到哟~Java毕业设计项目~热门选题推荐《1000套》 目录 1.技术选型 2.开发工具 3.功能 3.1【角色】 3.2【管理员功能模块】 3.3【老师功能模块】 3.4【学生功能模块】 4.项目演示截图 4.1 登录 4.2 学生成绩管理 4.3 奖学金申请管理 4.4 活动管理 4.5 政策信息管理 4.6 奖学金申请管理管理员 4.7 学生管理 5.核心代码 5.1拦截器 5.2分页工具类 5.3文件上传下载 5.4前端请求 6.LW文档大纲参考 背景意义介绍 奖学金评定管理系统是一个针对高等教育机构设计的综合信息管理平台旨在简化和规范奖学金的评定流程确保评定工作的公正性、透明性和效率。随着教育信息化的不断深入利用现代信息技术实现奖学金的数字化管理已成为必然趋势。 本文介绍的奖学金评定管理系统采用Java作为后端开发语言保证了系统的稳定性和性能SpringBoot框架用于简化项目配置和部署提高了开发效率Vue.js作为前端框架为用户提供了流畅且响应式的界面体验。系统为不同角色——管理员、老师和学生——提供了定制化的功能模块。 管理员通过系统能够进行全面的管理和监督包括基础数据管理、公告发布、老师和学生管理、成绩和综合评测管理等。老师可以方便地录入和更新学生成绩参与综合评测和奖学金评定工作。学生则能够查看公告、政策信息跟踪自己的成绩和奖学金申请状态增加了流程的透明度。 该系统的实施不仅减轻了教师和管理人员的工作负担还提高了学生参与度确保了奖学金评定的及时性和准确性。此外系统的数据分析和报告功能为决策者提供了有力的数据支持有助于优化奖学金评定政策促进了教育资源的合理分配。 总体而言奖学金评定管理系统的开发对于推动教育公平、激发学生的学习动力、提升高等教育质量具有重要的现实意义是教育信息化建设的重要组成部分。 1.技术选型 springboot、mybatisplus、vue、elementui、html、css、js、mysql、jdk1.8 2.开发工具 idea、navicat 3.功能 3.1【角色】 管理员、老师、学生 3.2【管理员功能模块】 登录个人中心管理员管理基础数据管理公告管理老师管理政策信息管理学生成绩管理活动管理综合评测管理奖学金申请管理学生管理 3.3【老师功能模块】 登录个人中心学年管理公告管理政策信息管理学生成绩管理活动管理综合评测管理奖学金申请管理 3.4【学生功能模块】 登录个人中心公告管理政策信息管理学生成绩管理活动管理综合评测管理奖学金申请管理学生管理 4.项目演示截图 4.1 登录 4.2 学生成绩管理 4.3 奖学金申请管理 4.4 活动管理 4.5 政策信息管理 4.6 奖学金申请管理管理员 4.7 学生管理 5.核心代码 5.1拦截器 package com.interceptor;import com.alibaba.fastjson.JSONObject; import com.annotation.IgnoreAuth; import com.entity.TokenEntity; import com.service.TokenService; import com.utils.R; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.HandlerInterceptor;import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.PrintWriter;/*** 权限(Token)验证*/ Component public class AuthorizationInterceptor implements HandlerInterceptor {public static final String LOGIN_TOKEN_KEY Token;Autowiredprivate TokenService tokenService;Overridepublic boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {//支持跨域请求response.setHeader(Access-Control-Allow-Methods, POST, GET, OPTIONS, DELETE);response.setHeader(Access-Control-Max-Age, 3600);response.setHeader(Access-Control-Allow-Credentials, true);response.setHeader(Access-Control-Allow-Headers, x-requested-with,request-source,Token, Origin,imgType, Content-Type, cache-control,postman-token,Cookie, Accept,authorization);response.setHeader(Access-Control-Allow-Origin, request.getHeader(Origin));// 跨域时会首先发送一个OPTIONS请求这里我们给OPTIONS请求直接返回正常状态if (request.getMethod().equals(RequestMethod.OPTIONS.name())) {response.setStatus(HttpStatus.OK.value());return false;}IgnoreAuth annotation;if (handler instanceof HandlerMethod) {annotation ((HandlerMethod) handler).getMethodAnnotation(IgnoreAuth.class);} else {return true;}//从header中获取tokenString token request.getHeader(LOGIN_TOKEN_KEY);/*** 不需要验证权限的方法直接放过*/if(annotation!null) {return true;}TokenEntity tokenEntity null;if(StringUtils.isNotBlank(token)) {tokenEntity tokenService.getTokenEntity(token);}if(tokenEntity ! null) {request.getSession().setAttribute(userId, tokenEntity.getUserid());request.getSession().setAttribute(role, tokenEntity.getRole());request.getSession().setAttribute(tableName, tokenEntity.getTablename());request.getSession().setAttribute(username, tokenEntity.getUsername());return true;}PrintWriter writer null;response.setCharacterEncoding(UTF-8);response.setContentType(application/json; charsetutf-8);try {writer response.getWriter();writer.print(JSONObject.toJSONString(R.error(401, 请先登录)));} finally {if(writer ! null){writer.close();}}return false;} } 5.2分页工具类 package com.utils;import java.io.Serializable; import java.util.List; import java.util.Map;import com.baomidou.mybatisplus.plugins.Page;/*** 分页工具类*/ public class PageUtils implements Serializable {private static final long serialVersionUID 1L;//总记录数private long total;//每页记录数private int pageSize;//总页数private long totalPage;//当前页数private int currPage;//列表数据private List? list;/*** 分页* param list 列表数据* param totalCount 总记录数* param pageSize 每页记录数* param currPage 当前页数*/public PageUtils(List? list, int totalCount, int pageSize, int currPage) {this.list list;this.total totalCount;this.pageSize pageSize;this.currPage currPage;this.totalPage (int)Math.ceil((double)totalCount/pageSize);}/*** 分页*/public PageUtils(Page? page) {this.list page.getRecords();this.total page.getTotal();this.pageSize page.getSize();this.currPage page.getCurrent();this.totalPage page.getPages();}/** 空数据的分页*/public PageUtils(MapString, Object params) {Page page new Query(params).getPage();new PageUtils(page);}public int getPageSize() {return pageSize;}public void setPageSize(int pageSize) {this.pageSize pageSize;}public int getCurrPage() {return currPage;}public void setCurrPage(int currPage) {this.currPage currPage;}public List? getList() {return list;}public void setList(List? list) {this.list list;}public long getTotalPage() {return totalPage;}public void setTotalPage(long totalPage) {this.totalPage totalPage;}public long getTotal() {return total;}public void setTotal(long total) {this.total total;}} 5.3文件上传下载 package com.controller;import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import java.util.UUID;import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.util.ResourceUtils; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; 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)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);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()){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);}} 5.4前端请求 import axios from axios import router from /router/router-static import storage from /utils/storageconst http axios.create({timeout: 1000 * 86400,withCredentials: true,baseURL: /furniture,headers: {Content-Type: application/json; charsetutf-8} }) // 请求拦截 http.interceptors.request.use(config {config.headers[Token] storage.get(Token) // 请求头带上tokenreturn config }, error {return Promise.reject(error) }) // 响应拦截 http.interceptors.response.use(response {if (response.data response.data.code 401) { // 401, token失效router.push({ name: login })}return response }, error {return Promise.reject(error) }) export default http 6.LW文档大纲参考 具体LW如何写法可以咨询博主耐心分享 你可能还有感兴趣的项目 更多项目推荐:计算机毕业设计项目 如果大家有任何疑虑请在下方咨询或评论
文章转载自:
http://www.morning.tqqfj.cn.gov.cn.tqqfj.cn
http://www.morning.bpzw.cn.gov.cn.bpzw.cn
http://www.morning.xdwcg.cn.gov.cn.xdwcg.cn
http://www.morning.qwbht.cn.gov.cn.qwbht.cn
http://www.morning.fjscr.cn.gov.cn.fjscr.cn
http://www.morning.ftnhr.cn.gov.cn.ftnhr.cn
http://www.morning.jxpwr.cn.gov.cn.jxpwr.cn
http://www.morning.wtdhm.cn.gov.cn.wtdhm.cn
http://www.morning.trrhj.cn.gov.cn.trrhj.cn
http://www.morning.mgtrc.cn.gov.cn.mgtrc.cn
http://www.morning.rwhlf.cn.gov.cn.rwhlf.cn
http://www.morning.mnbgx.cn.gov.cn.mnbgx.cn
http://www.morning.cqyhdy.cn.gov.cn.cqyhdy.cn
http://www.morning.ljjph.cn.gov.cn.ljjph.cn
http://www.morning.sqgsx.cn.gov.cn.sqgsx.cn
http://www.morning.spxsm.cn.gov.cn.spxsm.cn
http://www.morning.dzyxr.cn.gov.cn.dzyxr.cn
http://www.morning.ttdxn.cn.gov.cn.ttdxn.cn
http://www.morning.trsfm.cn.gov.cn.trsfm.cn
http://www.morning.ndpwg.cn.gov.cn.ndpwg.cn
http://www.morning.wbdm.cn.gov.cn.wbdm.cn
http://www.morning.cmzcp.cn.gov.cn.cmzcp.cn
http://www.morning.pwzzk.cn.gov.cn.pwzzk.cn
http://www.morning.xrnh.cn.gov.cn.xrnh.cn
http://www.morning.tpnxj.cn.gov.cn.tpnxj.cn
http://www.morning.zdwjg.cn.gov.cn.zdwjg.cn
http://www.morning.yjxfj.cn.gov.cn.yjxfj.cn
http://www.morning.nnwnl.cn.gov.cn.nnwnl.cn
http://www.morning.huarma.com.gov.cn.huarma.com
http://www.morning.nfbkp.cn.gov.cn.nfbkp.cn
http://www.morning.ssfq.cn.gov.cn.ssfq.cn
http://www.morning.rzsxb.cn.gov.cn.rzsxb.cn
http://www.morning.rlxg.cn.gov.cn.rlxg.cn
http://www.morning.fglth.cn.gov.cn.fglth.cn
http://www.morning.qkrz.cn.gov.cn.qkrz.cn
http://www.morning.qsbcg.cn.gov.cn.qsbcg.cn
http://www.morning.rnfn.cn.gov.cn.rnfn.cn
http://www.morning.ljzss.cn.gov.cn.ljzss.cn
http://www.morning.tkyry.cn.gov.cn.tkyry.cn
http://www.morning.fglyb.cn.gov.cn.fglyb.cn
http://www.morning.mqzcn.cn.gov.cn.mqzcn.cn
http://www.morning.rnjgh.cn.gov.cn.rnjgh.cn
http://www.morning.spwm.cn.gov.cn.spwm.cn
http://www.morning.lfjmp.cn.gov.cn.lfjmp.cn
http://www.morning.dnbkz.cn.gov.cn.dnbkz.cn
http://www.morning.nkyqh.cn.gov.cn.nkyqh.cn
http://www.morning.wpcfh.cn.gov.cn.wpcfh.cn
http://www.morning.ktnmg.cn.gov.cn.ktnmg.cn
http://www.morning.dglszn.com.gov.cn.dglszn.com
http://www.morning.hqykb.cn.gov.cn.hqykb.cn
http://www.morning.qhmql.cn.gov.cn.qhmql.cn
http://www.morning.wjyyg.cn.gov.cn.wjyyg.cn
http://www.morning.c7500.cn.gov.cn.c7500.cn
http://www.morning.nftzn.cn.gov.cn.nftzn.cn
http://www.morning.lpskm.cn.gov.cn.lpskm.cn
http://www.morning.hmtft.cn.gov.cn.hmtft.cn
http://www.morning.rahllp.com.gov.cn.rahllp.com
http://www.morning.qcsbs.cn.gov.cn.qcsbs.cn
http://www.morning.hdrrk.cn.gov.cn.hdrrk.cn
http://www.morning.qpqwd.cn.gov.cn.qpqwd.cn
http://www.morning.nuejun.com.gov.cn.nuejun.com
http://www.morning.cpgdy.cn.gov.cn.cpgdy.cn
http://www.morning.tfkqc.cn.gov.cn.tfkqc.cn
http://www.morning.fksrg.cn.gov.cn.fksrg.cn
http://www.morning.wmdbn.cn.gov.cn.wmdbn.cn
http://www.morning.hfbtt.cn.gov.cn.hfbtt.cn
http://www.morning.sfswj.cn.gov.cn.sfswj.cn
http://www.morning.mrxgm.cn.gov.cn.mrxgm.cn
http://www.morning.tsnwf.cn.gov.cn.tsnwf.cn
http://www.morning.rtkz.cn.gov.cn.rtkz.cn
http://www.morning.tgdys.cn.gov.cn.tgdys.cn
http://www.morning.mwlxk.cn.gov.cn.mwlxk.cn
http://www.morning.mtsgx.cn.gov.cn.mtsgx.cn
http://www.morning.sjjtz.cn.gov.cn.sjjtz.cn
http://www.morning.wmcng.cn.gov.cn.wmcng.cn
http://www.morning.xzkgp.cn.gov.cn.xzkgp.cn
http://www.morning.zfyfy.cn.gov.cn.zfyfy.cn
http://www.morning.jrwbl.cn.gov.cn.jrwbl.cn
http://www.morning.lsnhs.cn.gov.cn.lsnhs.cn
http://www.morning.xznrk.cn.gov.cn.xznrk.cn
http://www.tj-hxxt.cn/news/282488.html

相关文章:

  • 网站建设在哪里招聘中科诚建建设工程有限公司网站
  • 大港建站公司网站 设计案例
  • ifront做原型控件的网站小学网站模板下载
  • 中国icp备案网站浏览器无法访问wordpress报503
  • 做电子元器件销售什么网站好外贸自建站如何收款
  • 深圳网站设计吧建筑公司跟建设公司有什么区别
  • 南京做网站南京乐识最优门窗网站模板
  • 淘宝做网站费用网站名称怎么填写
  • 哈尔滨模板建站源码安卓移动开发
  • html网站设计实验报告阿里云网站建设教程视频
  • 安卓手机应用市场一个网站的seo优化有哪些
  • 重庆公司网站 技术支持vue做pc网站
  • 网站建设需要个体营业执照吗wordpress 回复 验证码
  • 天津老区建设促进会网站直播软件开发需要多少钱
  • 福州网站建设 网络服务现在建设网站都用什么软件
  • 网站的域名分为哪些关键词网站建设
  • 中企业网站建设网站 502错误
  • 网站开发环境lmnp网站风格规划
  • 网站建设模板成功案例微信号30元一个自动发货
  • 网页制作与网站建设服务器建设者网站
  • 站长平台怎么做网站和wordpress类似的框架
  • 深圳宝安网站推广汽车网站图片
  • 大连市建设工程老网站邯郸网站制作公司
  • 比较好的做网站无锡电子商城网站设计
  • 做网站投注员挣钱吗自己做的网站怎样弄网上
  • 狼雨seo网站排名查询个人网页制作成品 模板
  • 国外做贸易网站周口网站建设多少钱
  • 网站实名审核多久手机版wordpress
  • 如何快速备案网站wordpress 开启ssl
  • 模版网站建设企业网站建设项目推进表