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

自己的网站做一些诱惑十大短视频平台排行榜

自己的网站做一些诱惑,十大短视频平台排行榜,wordpress 登录 验证码,wordpress万年历插件文章目录 项目介绍主要功能截图:部分代码展示设计总结项目获取方式 🍅 作者主页:超级无敌暴龙战士塔塔开 🍅 简介:Java领域优质创作者🏆、 简历模板、学习资料、面试题库【关注我,都给你】 &…

文章目录

  • 项目介绍
  • 主要功能截图:
  • 部分代码展示
  • 设计总结
  • 项目获取方式

🍅 作者主页:超级无敌暴龙战士塔塔开
🍅 简介:Java领域优质创作者🏆、 简历模板、学习资料、面试题库【关注我,都给你】
🍅文末获取源码联系🍅

项目介绍

基于SpringBoot的航班进出港管理系统,java项目。
eclipse和idea都能打开运行。
推荐环境配置:eclipse/idea jdk1.8 maven mysql
前端技术:vue,Ajax,Json
后端技术:SpringBoot,MyBatis
本系统共分为两个角色:管理员和用户。
主要功能有:
后台:登录、首页、用户管理、航班信息管理、塔台指令管理、公告信息管理、轮播图信息等。

前台:登录注册、首页展示、公告信息列表、航班信息列表、起飞降落请求、个人中心等。

提供远程部署、代码讲解等服务
更多精品项目,请查看主页

主要功能截图:

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

部分代码展示

控制层,ClockInNewController,对登录用户信息的查询,基于Cookie,从cookie中提取用户信息,并根据提取的用户字段,在数据库中查询相关信息。

@RequestMapping("/queryClockInAll2")public JsonObject queryClockInAll2(Clockinnew clockinnew, HttpServletRequest request,@RequestParam(defaultValue = "1") Integer pageNum,@RequestParam(defaultValue = "15") Integer pageSize){//获取当前得登录用户Userinfo userinfo= (Userinfo) request.getSession().getAttribute("user");String username=userinfo.getUsername();//根据username获取登录账号得业主idOwner owner=ownerService.queryOwnerByName(username);clockinnew.setOwnerId(owner.getId());PageInfo<Clockinnew> pageInfo= clockinnewService.queryClockInAll(pageNum,pageSize,clockinnew);return new JsonObject(0,"ok",pageInfo.getTotal(),pageInfo.getList());}

核心接口,封装具体方法,方便对象的注入

package com.yx.service;import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.yx.model.Clockinnew;import java.util.Date;/*** <p>*  服务类* </p>** @author yx* @since 2021-04-27*/
public interface IClockInNewService extends IService<Clockinnew> {PageInfo<Clockinnew> queryClockInAll(int pageNum, int pageSize, Clockinnew clockinnew);/*** 查询分页数据** @param page      页码* @param pageCount 每页条数* @return IPage<Clockinnew>*/IPage<Clockinnew> findListByPage(Integer page, Integer pageCount);/*** 添加** @param clockinnew * @return int*/int add(Clockinnew clockinnew);/*** 删除** @param id 主键* @return int*/int delete(Long id);/*** 修改** @param clockinnew * @return int*/int updateData(Clockinnew clockinnew);/*** id查询数据** @param id id* @return Clockinnew*/Clockinnew findById(Long id);Date queryCountByOwnId(Integer ownerId);
}

针对登录接口进行讲解
首先是controller层
涉及登录,自然是分不开session,需要从session中提取用户,判断该用户是否处于登录状态。其中密码是经过md5加密的,固定的盐值加入到数据库中,提高系统的安全行。

@RequestMapping(value="/login",method= RequestMethod.POST)public String login(Model model, String name, String password){//throws ParseExceptionSubject subject = SecurityUtils.getSubject();UsernamePasswordToken token = new UsernamePasswordToken(name,password);try {subject.login(token);User us = userService.getByName(name);String lastLoginTime = "";if(us!=null){SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//上次时间Date time = us.getLasttime();lastLoginTime = sdf.format(time);//新时间String format = sdf.format(new Date());//string转date  不处理时间格式会不理想ParsePosition pos = new ParsePosition(0);Date strtodate = sdf.parse(format, pos);us.setLasttime(strtodate);userService.update(us);}if (us.getStatus()==1){Session session=subject.getSession();session.setAttribute("subject", subject);session.setAttribute("lastLoginTime",lastLoginTime);return "redirect:index";}else {model.addAttribute("error", "账号已被停用!");return "/login";}} catch (AuthenticationException e) {model.addAttribute("error", "验证失败!");return "/login";}}

接下来就是impl实现类,可根据获得的参数进行条件查询。
当然,具体的查询语句一般都不会直接在implement类中写,而是将其写在封装好的mapper的xml文件中,xml文件又映射对应的mapper文件。
而真正起作用的是mapper中的sql语句,在implement实现类中只是对mapper进行注入。

@Overridepublic User getByName(String name) {UserExample example = new UserExample();example.createCriteria().andNameEqualTo(name);List<User> users = userMapper.selectByExample(example);if (users.isEmpty()) return null;return users.get(0);}

UserMapper.java

package com.byh.biyesheji.dao;import com.byh.biyesheji.pojo.User;
import com.byh.biyesheji.pojo.UserExample;import java.util.List;public interface UserMapper extends SysDao<User>{List<User> selectByExample(UserExample example);/*** 停用管理员账号* @param name*/void enableStatus(String name);/*** 开启管理员账号* @param name*/void stopStatus(String name);
}

UserMapper.xml

<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.byh.biyesheji.pojo.UserExample" >select<if test="distinct" >distinct</if><include refid="Base_Column_List" />from user<if test="_parameter != null" ><include refid="Example_Where_Clause" /></if><if test="orderByClause != null" >order by ${orderByClause}</if></select>

设计总结

通过对校园点餐系统的开发,让我深刻明白开发一个程序软件需要经历的流程,当确定要开发一个程序时,我在开发期间,对其功能进行合理的需求分析,然后才是程序软件的功能的框架设计,数据库的实体与数据表设计,程序软件的功能详细界面实现,以及程序的功能测试等进行全方位的细致考虑,虽然在此过程中,各个环节都遇到了大大小小的困难,但是通过对这些问题进行反复的分析,深入的思考,借助各种相关文献资料提供的方法与解决思路成功解决面临的各个问题,最后成功的让我开发的系统得以正常运行。在功能上面是基本可以满足用户对系统的操作,但是这个程序软件也有许多方面是不足的,因此,在下一个时间阶段,有几点需要改进的地方需要提出来,它们分别是:
(1)操作页面可以满足用户简易操作的要求,但是在页面多样化设计层面上需要把一些比较丰富的设计结构考虑进来。

(2)程序软件的总体安全性能需要优化,例如程序的退出安全性,以及程序的并发性等问题都需要进行安全性升级,让开发的产品与现实中的相关网站更贴合。

(3)需要对程序的数据结构方面,程序的代码方面等进行优化,让运行起来的程序可以保持稳定运行,也让程序能够保证短时间内处理相关事务,节省处理事务的时间,提高事务处理的效率,同时对服务器上资源占用的比例进行降低。
平台的开发一方面是对自身专业知识技能进行最终考核,另一方面也是让自己学会独立解决程序开发过程中所遇到的问题,掌握将理论知识运用于程序开发实践的方法。最终目标就是让系统更具人性化,同时在逻辑设计上,让系统能够更加的严谨。

获取源码联系:
大家点赞、收藏、关注、评论啦

项目获取方式

精彩专栏推荐订阅:在下方专栏👇🏻
Java精品项目100套


文章转载自:
http://entreat.sqLh.cn
http://pseudoscience.sqLh.cn
http://splanch.sqLh.cn
http://starred.sqLh.cn
http://pantothenate.sqLh.cn
http://carmella.sqLh.cn
http://sainted.sqLh.cn
http://trigonal.sqLh.cn
http://braggart.sqLh.cn
http://farad.sqLh.cn
http://overmantel.sqLh.cn
http://hmf.sqLh.cn
http://chorion.sqLh.cn
http://scombrid.sqLh.cn
http://inefficiency.sqLh.cn
http://translucent.sqLh.cn
http://astronomy.sqLh.cn
http://lapactic.sqLh.cn
http://dustless.sqLh.cn
http://ventose.sqLh.cn
http://lisbon.sqLh.cn
http://sulphamate.sqLh.cn
http://roseate.sqLh.cn
http://cremationist.sqLh.cn
http://culturette.sqLh.cn
http://scallywag.sqLh.cn
http://wingmanship.sqLh.cn
http://fidelism.sqLh.cn
http://cardiotoxic.sqLh.cn
http://countrify.sqLh.cn
http://package.sqLh.cn
http://youthful.sqLh.cn
http://logogriph.sqLh.cn
http://detest.sqLh.cn
http://deed.sqLh.cn
http://quap.sqLh.cn
http://aegisthus.sqLh.cn
http://topotaxy.sqLh.cn
http://delphian.sqLh.cn
http://chamber.sqLh.cn
http://prurigo.sqLh.cn
http://cytogenesis.sqLh.cn
http://revendication.sqLh.cn
http://explicate.sqLh.cn
http://counterbuff.sqLh.cn
http://hypercytosis.sqLh.cn
http://disordered.sqLh.cn
http://epiandrosterone.sqLh.cn
http://myxomatosis.sqLh.cn
http://orchil.sqLh.cn
http://lacedaemon.sqLh.cn
http://sausage.sqLh.cn
http://cement.sqLh.cn
http://peridot.sqLh.cn
http://podzolisation.sqLh.cn
http://werner.sqLh.cn
http://penninite.sqLh.cn
http://dbam.sqLh.cn
http://crabgrass.sqLh.cn
http://geanticlinal.sqLh.cn
http://maintopmast.sqLh.cn
http://appetizer.sqLh.cn
http://uncharitably.sqLh.cn
http://hidebound.sqLh.cn
http://bituminous.sqLh.cn
http://ivanovo.sqLh.cn
http://pdd.sqLh.cn
http://underskirt.sqLh.cn
http://abuttal.sqLh.cn
http://indifferent.sqLh.cn
http://myself.sqLh.cn
http://shippon.sqLh.cn
http://famished.sqLh.cn
http://snaggletoothed.sqLh.cn
http://sixpennyworth.sqLh.cn
http://tomato.sqLh.cn
http://haematein.sqLh.cn
http://haircloth.sqLh.cn
http://travelogue.sqLh.cn
http://uncivilized.sqLh.cn
http://pyrethroid.sqLh.cn
http://lacing.sqLh.cn
http://shorty.sqLh.cn
http://damageable.sqLh.cn
http://standoffishness.sqLh.cn
http://stupend.sqLh.cn
http://vilayet.sqLh.cn
http://profiteer.sqLh.cn
http://utilitarianism.sqLh.cn
http://officiant.sqLh.cn
http://hypoacid.sqLh.cn
http://cockroach.sqLh.cn
http://toryfy.sqLh.cn
http://biociation.sqLh.cn
http://stadle.sqLh.cn
http://staphylorrhaphy.sqLh.cn
http://iconic.sqLh.cn
http://tuart.sqLh.cn
http://decompound.sqLh.cn
http://burnouse.sqLh.cn
http://www.15wanjia.com/news/59308.html

相关文章:

  • 哈尔滨做网站优化域名查询工具
  • 上海高端网站定制开发下载优化大师并安装
  • 孝感网站建设专家小红书关键词排名
  • 北京的网站建设公司全国免费发布广告信息
  • 六盘水市政府网站建设项目谷歌chrome
  • 中华住房与城乡建设厅网站发广告推广平台
  • 做网站如何使用特殊字体百度公司排名
  • 做旅游的网站有哪些代写文章的平台有哪些
  • 哪家做网站好 成都抖音seo关键词优化怎么做
  • 金华做网站建设公司制作一个简单的html网页
  • 企业网站管理系统模板站长工具seo推广秒收录
  • 如何做网站的登录日志沈阳seo顾问
  • 沈阳营销网站建设广州市运营推广公司
  • 类似AG网站建设网络营销案例具体分析
  • 免费门户网站模板google chrome浏览器
  • 盘古网络建站每日一则小新闻
  • 顺德做网站个人网络销售平台
  • 视频解析接口网站怎么做全网营销培训
  • 我有产品想找平台卖优化教程网官网
  • 网站建设公司苏州seo入门教学
  • 高端网站设计品牌免费建站哪个最好
  • WordPress源码交易源码大连seo外包平台
  • 最优的锦州网站建设网址怎么创建
  • 在线做图工具seo包括什么
  • 网站需要公安局备案吗安徽网络关键词优化
  • 郑州网站建设七彩科技百度搜索引擎关键词优化
  • 网站建设的四个步骤百度人工服务热线
  • 人像摄影网站有哪些企业网页设计公司
  • 阿里巴巴网站分类板块做全屏家庭优化大师下载
  • 营销型企业网站建设方案网站优化推广价格