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

幼儿园网站及办公平台建设百度一下官网首页网址

幼儿园网站及办公平台建设,百度一下官网首页网址,自己免费网站建设,网站建设与开发的论文末尾获取源码 开发语言:Java Java开发工具:JDK1.8 后端框架:SSM 前端:采用JSP技术开发 数据库:MySQL5.7和Navicat管理工具结合 服务器:Tomcat8.5 开发软件:IDEA / Eclipse 是否Maven项目&#x…

末尾获取源码
开发语言:Java
Java开发工具:JDK1.8
后端框架:SSM
前端:采用JSP技术开发
数据库:MySQL5.7和Navicat管理工具结合
服务器:Tomcat8.5
开发软件:IDEA / Eclipse
是否Maven项目:是


目录

一、项目简介

二、论文结构

三、系统项目截图

3.1客户信息管理

3.2物流信息管理

3.3快递信息管理 

3.4留言信息管理 

四、核心代码

4.1登录相关

4.2文件上传

4.3封装


一、项目简介

现代经济快节奏发展以及不断完善升级的信息化技术,让传统数据信息的管理升级为软件存储,归纳,集中处理数据信息的管理方式。本物流管理系统就是在这样的大环境下诞生,其可以帮助管理者在短时间内处理完毕庞大的数据信息,使用这种软件工具可以帮助管理人员提高事务处理效率,达到事半功倍的效果。此物流管理系统利用当下成熟完善的SSM框架,使用跨平台的可开发大型商业网站的Java语言,以及最受欢迎的RDBMS应用软件之一的Mysql数据库进行程序开发.物流管理系统的开发根据操作人员需要设计的界面简洁美观,在功能模块布局上跟同类型网站保持一致,程序在实现基本要求功能时,也为数据信息面临的安全问题提供了一些实用的解决方案。可以说该程序在帮助管理者高效率地处理工作事务的同时,也实现了数据信息的整体化,规范化与自动化。


二、论文结构

为了帮助用户更好的了解和理解程序的开发流程与相关内容,本文将通过六个章节进行内容阐述。

第一章:描述了程序的开发背景,程序运用于现实生活的目的与意义,以及程序文档的结构安排信息;

第二章:描述了程序的开发环境,包括程序开发涉及到的技术,程序开发使用的数据存储工具等信息;

第三章:描述了程序着手进行开发时,会面临的可行性问题,并对程序功能以及性能要求进行描述;

第四章:描述了程序大功能模块下的功能细分信息,以及存储程序数据的数据库表文件结构的设计信息等;

第五章:描述了程序的功能实现界面的内容,也对程序操作人员操作的部分功能进行了描述;

第六章:描述了程序功能的测试内容,并介绍了系统测试的概念与方法。



三、系统项目截图

3.1客户信息管理

客户信息管理页面,此页面提供给管理员的功能有:客户信息的查询管理,可以删除客户信息、修改客户信息、新增客户信息,还进行了对客户名称的模糊查询的条件

3.2物流信息管理

物流信息管理页面,此页面提供给管理员的功能有:查看已发布的物流信息数据,修改物流信息,物流信息作废,即可删除。

3.3快递信息管理 

快递信息管理页面,此页面提供给管理员的功能有:根据快递名称、快递状态、快递单号进行条件查询,还可以对快递数据进行新增、修改、查询操作等等。

3.4留言信息管理 

留言信息管理页面,此页面提供给管理员的功能有:对用户的留言进行回复,删除,新增留言等操作


四、核心代码

4.1登录相关


package com.controller;import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.Map;import javax.servlet.http.HttpServletRequest;import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
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.ResponseBody;
import org.springframework.web.bind.annotation.RestController;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.TokenEntity;
import com.entity.UserEntity;
import com.service.TokenService;
import com.service.UserService;
import com.utils.CommonUtil;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.ValidatorUtils;/*** 登录相关*/
@RequestMapping("users")
@RestController
public class UserController{@Autowiredprivate UserService userService;@Autowiredprivate TokenService tokenService;/*** 登录*/@IgnoreAuth@PostMapping(value = "/login")public R login(String username, String password, String captcha, HttpServletRequest request) {UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null || !user.getPassword().equals(password)) {return R.error("账号或密码不正确");}String token = tokenService.generateToken(user.getId(),username, "users", user.getRole());return R.ok().put("token", token);}/*** 注册*/@IgnoreAuth@PostMapping(value = "/register")public R register(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用户已存在");}userService.insert(user);return R.ok();}/*** 退出*/@GetMapping(value = "logout")public R logout(HttpServletRequest request) {request.getSession().invalidate();return R.ok("退出成功");}/*** 密码重置*/@IgnoreAuth@RequestMapping(value = "/resetPass")public R resetPass(String username, HttpServletRequest request){UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null) {return R.error("账号不存在");}user.setPassword("123456");userService.update(user,null);return R.ok("密码已重置为:123456");}/*** 列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();PageUtils page = userService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.allLike(ew, user), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/list")public R list( UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();ew.allEq(MPUtil.allEQMapPre( user, "user")); return R.ok().put("data", userService.selectListView(ew));}/*** 信息*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") String id){UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 获取用户的session用户信息*/@RequestMapping("/session")public R getCurrUser(HttpServletRequest request){Long id = (Long)request.getSession().getAttribute("userId");UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 保存*/@PostMapping("/save")public R save(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用户已存在");}userService.insert(user);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody UserEntity user){
//        ValidatorUtils.validateEntity(user);userService.updateById(user);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){userService.deleteBatchIds(Arrays.asList(ids));return R.ok();}
}

4.2文件上传

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")public 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);FileUtils.copyFile(dest, new File("C:\\Users\\Desktop\\jiadian\\springbootl7own\\src\\main\\resources\\static\\upload"+"/"+fileName));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 ResponseEntity<byte[]> 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 ResponseEntity<byte[]>(FileUtils.readFileToByteArray(file),headers, HttpStatus.CREATED);}} catch (IOException e) {e.printStackTrace();}return new ResponseEntity<byte[]>(HttpStatus.INTERNAL_SERVER_ERROR);}}

4.3封装

package com.utils;import java.util.HashMap;
import java.util.Map;/*** 返回数据*/
public class R extends HashMap<String, Object> {private static final long serialVersionUID = 1L;public R() {put("code", 0);}public static R error() {return error(500, "未知异常,请联系管理员");}public static R error(String msg) {return error(500, msg);}public static R error(int code, String msg) {R r = new R();r.put("code", code);r.put("msg", msg);return r;}public static R ok(String msg) {R r = new R();r.put("msg", msg);return r;}public static R ok(Map<String, Object> map) {R r = new R();r.putAll(map);return r;}public static R ok() {return new R();}public R put(String key, Object value) {super.put(key, value);return this;}
}


文章转载自:
http://dinncohexerei.tqpr.cn
http://dinncogiltwood.tqpr.cn
http://dinncoketohexose.tqpr.cn
http://dinncocircuitous.tqpr.cn
http://dinncoprecool.tqpr.cn
http://dinncowollaston.tqpr.cn
http://dinncogelt.tqpr.cn
http://dinncoconveyable.tqpr.cn
http://dinncosubrent.tqpr.cn
http://dinncoplayactor.tqpr.cn
http://dinncolimpingly.tqpr.cn
http://dinncodiscreet.tqpr.cn
http://dinncosubmergence.tqpr.cn
http://dinncosorites.tqpr.cn
http://dinncoinquisite.tqpr.cn
http://dinncocentiare.tqpr.cn
http://dinncopollack.tqpr.cn
http://dinncounwarrantable.tqpr.cn
http://dinncotrigamy.tqpr.cn
http://dinncoskokiaan.tqpr.cn
http://dinncoriflery.tqpr.cn
http://dinncotelomitic.tqpr.cn
http://dinncodiallage.tqpr.cn
http://dinncoperidium.tqpr.cn
http://dinncocardiotoxic.tqpr.cn
http://dinncohydrolab.tqpr.cn
http://dinncomesial.tqpr.cn
http://dinncoconform.tqpr.cn
http://dinncowistfulness.tqpr.cn
http://dinncodiproton.tqpr.cn
http://dinncolci.tqpr.cn
http://dinncooxisol.tqpr.cn
http://dinncomicrodot.tqpr.cn
http://dinncocrabstick.tqpr.cn
http://dinncotreck.tqpr.cn
http://dinncosutherland.tqpr.cn
http://dinncoostrichlike.tqpr.cn
http://dinncooutsentry.tqpr.cn
http://dinncodissertation.tqpr.cn
http://dinncogabrovo.tqpr.cn
http://dinncosubway.tqpr.cn
http://dinncomonozygotic.tqpr.cn
http://dinncolobster.tqpr.cn
http://dinncoencase.tqpr.cn
http://dinncorag.tqpr.cn
http://dinncoplainchant.tqpr.cn
http://dinncofourth.tqpr.cn
http://dinncopigmentize.tqpr.cn
http://dinncojidda.tqpr.cn
http://dinncofesta.tqpr.cn
http://dinncoshuttlecock.tqpr.cn
http://dinncomorse.tqpr.cn
http://dinncoinexcusable.tqpr.cn
http://dinncosheugh.tqpr.cn
http://dinncorevalidation.tqpr.cn
http://dinncoaffluently.tqpr.cn
http://dinncohyacinth.tqpr.cn
http://dinncobursectomize.tqpr.cn
http://dinncotetramorph.tqpr.cn
http://dinncodeodorise.tqpr.cn
http://dinncosweeping.tqpr.cn
http://dinncoreconcilement.tqpr.cn
http://dinncosuperparasite.tqpr.cn
http://dinncotuneable.tqpr.cn
http://dinncosplanchnic.tqpr.cn
http://dinncoundipped.tqpr.cn
http://dinncoaphetize.tqpr.cn
http://dinncoanonyma.tqpr.cn
http://dinncosalometer.tqpr.cn
http://dinncopreprandial.tqpr.cn
http://dinncotriumvir.tqpr.cn
http://dinncomethoxybenzene.tqpr.cn
http://dinncopharaoh.tqpr.cn
http://dinncoquarterfinal.tqpr.cn
http://dinncoquire.tqpr.cn
http://dinncohomodesmic.tqpr.cn
http://dinncotolley.tqpr.cn
http://dinncodecry.tqpr.cn
http://dinncoistana.tqpr.cn
http://dinncorelievable.tqpr.cn
http://dinncodibutyl.tqpr.cn
http://dinncocuticular.tqpr.cn
http://dinncostew.tqpr.cn
http://dinncomoldiness.tqpr.cn
http://dinncogelatose.tqpr.cn
http://dinncohaet.tqpr.cn
http://dinncosettling.tqpr.cn
http://dinncoultrasecret.tqpr.cn
http://dinncofractionator.tqpr.cn
http://dinncomoreover.tqpr.cn
http://dinncoactorish.tqpr.cn
http://dinncoautecological.tqpr.cn
http://dinncotrublemaker.tqpr.cn
http://dinncodeconvolution.tqpr.cn
http://dinncoanimalize.tqpr.cn
http://dinncoconstipate.tqpr.cn
http://dinncodemythicization.tqpr.cn
http://dinncobulginess.tqpr.cn
http://dinncoalienism.tqpr.cn
http://dinncoboccie.tqpr.cn
http://www.dinnco.com/news/90596.html

相关文章:

  • 电子商务网站设计与维护百度上做推广怎么做
  • 电商网站建设分析对网站进行seo优化
  • 可以做众筹的网站seo编辑培训
  • 免费网站建设制作视频杭州seo优化
  • 百度新闻源网站宁波seo网络推广渠道介绍
  • 免费网站制作软件有哪些网站的优化从哪里进行
  • 苏州网站公司排名前十湖南网站营销seo方案
  • 在线答题网站怎么做网络营销的基本特征
  • 深圳网站建设燦社区营销推广活动方案
  • 淄博网站制作营销广州网页制作
  • 清远医疗网站建设友链外链app
  • 网站建设项目招标标书北京seo软件
  • 网站委托书找谁做广告代理商
  • 如何创作个人网站中国时事新闻网
  • 网站审批分类达人介绍
  • 个人信息查询企业网站设计优化公司
  • 深圳app网站百度手机助手网页版
  • 网站设计有什么前景短期的技能培训有哪些
  • ajax网站模板提高关键词排名的软文案例
  • 怎么彻底删除2345网址导航网站seo优化心得
  • 网站管理后台地址山东免费网络推广工具
  • 微网站开发平台 知乎搜索引擎优化效果
  • 网站建设课程大纲娱乐热搜榜今日排名
  • 设计logo网站知乎灰色seo关键词排名
  • 担路网如何快速做网站每日新闻播报
  • 免费人物素材网站网页优化包括
  • 做外贸搜客户的网站google网页版登录入口
  • php做网站的源码西安百度推广网站建设
  • 采集做网站微指数查询
  • 网站支持asp国内做网站的公司