基于springboot留守儿童爱心网站源码和论文

随着留守儿童爱心管理的不断发展,留守儿童爱心网站在现实生活中的使用和普及,留守儿童爱心管理成为近年内出现的一个热门话题,并且能够成为大众广为认可和接受的行为和选择。设计留守儿童爱心网站的目的就是借助计算机让复杂的管理操作变简单,变高效。

留守儿童爱心网站采用了B/S结构,JAVA作为开发语言,数据库采用了B/S结构,Mysql数据库进行开发。该系统包括前台操作,后台由管理员和用户两个部分,一方面,为用户提供首页、宣传新闻、志愿活动、爱心捐赠、个人中心、后台管理等功能;另一方面,为管理员提供首页、个人中心、用户管理、宣传新闻管理、志愿活动管理、爱心捐赠管理、旧物捐赠管理、活动报名管理、系统管理等功能。

【关键词】留守儿童爱心;JAVA;B/S结构

基于springboot留守儿童爱心网站源码和论文327

演示视频:

基于springboot留守儿童爱心网站源码和论文

Abstract

With the continuous development of love management for left-behind children, the use and popularity of love websites for left-behind children in real life, love management for left-behind children has become a hot topic in recent years, and can become a widely recognized and accepted behavior and choice. The purpose of designing the left-behind children love website is to make the complex management operation simple and efficient with the help of computers.

Left-behind children love website adopts B/S structure, JAVA as development language, B/S structure for database and Mysql database for development. The system includes the front desk operation, the background by the administrator and the user two parts, on the one hand, to provide users with home page, publicity news, volunteer activities, love donation, personal center, background management and other functions; On the other hand, it provides administrators with home page, personal center, user management, publicity and news management, volunteer activity management, love donation management, old things donation management, activity registration management, system management and other functions.

【 Key words 】 Left-behind children love; JAVA; B/S structure

package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
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 com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.HuodongbaomingEntity;
import com.entity.view.HuodongbaomingView;import com.service.HuodongbaomingService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
import java.io.IOException;/*** 活动报名* 后端接口* @author * @email * @date 2022-04-18 12:00:47*/
@RestController
@RequestMapping("/huodongbaoming")
public class HuodongbaomingController {@Autowiredprivate HuodongbaomingService huodongbaomingService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,HuodongbaomingEntity huodongbaoming,HttpServletRequest request){String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("yonghu")) {huodongbaoming.setYonghuzhanghao((String)request.getSession().getAttribute("username"));}EntityWrapper<HuodongbaomingEntity> ew = new EntityWrapper<HuodongbaomingEntity>();PageUtils page = huodongbaomingService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, huodongbaoming), params), params));return R.ok().put("data", page);}/*** 前端列表*/@IgnoreAuth@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,HuodongbaomingEntity huodongbaoming, HttpServletRequest request){EntityWrapper<HuodongbaomingEntity> ew = new EntityWrapper<HuodongbaomingEntity>();PageUtils page = huodongbaomingService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, huodongbaoming), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( HuodongbaomingEntity huodongbaoming){EntityWrapper<HuodongbaomingEntity> ew = new EntityWrapper<HuodongbaomingEntity>();ew.allEq(MPUtil.allEQMapPre( huodongbaoming, "huodongbaoming")); return R.ok().put("data", huodongbaomingService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(HuodongbaomingEntity huodongbaoming){EntityWrapper< HuodongbaomingEntity> ew = new EntityWrapper< HuodongbaomingEntity>();ew.allEq(MPUtil.allEQMapPre( huodongbaoming, "huodongbaoming")); HuodongbaomingView huodongbaomingView =  huodongbaomingService.selectView(ew);return R.ok("查询活动报名成功").put("data", huodongbaomingView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){HuodongbaomingEntity huodongbaoming = huodongbaomingService.selectById(id);return R.ok().put("data", huodongbaoming);}/*** 前端详情*/@IgnoreAuth@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){HuodongbaomingEntity huodongbaoming = huodongbaomingService.selectById(id);return R.ok().put("data", huodongbaoming);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody HuodongbaomingEntity huodongbaoming, HttpServletRequest request){huodongbaoming.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(huodongbaoming);huodongbaomingService.insert(huodongbaoming);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody HuodongbaomingEntity huodongbaoming, HttpServletRequest request){huodongbaoming.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(huodongbaoming);huodongbaomingService.insert(huodongbaoming);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody HuodongbaomingEntity huodongbaoming, HttpServletRequest request){//ValidatorUtils.validateEntity(huodongbaoming);huodongbaomingService.updateById(huodongbaoming);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){huodongbaomingService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/@RequestMapping("/remind/{columnName}/{type}")public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) {map.put("column", columnName);map.put("type", type);if(type.equals("2")) {SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Calendar c = Calendar.getInstance();Date remindStartDate = null;Date remindEndDate = null;if(map.get("remindstart")!=null) {Integer remindStart = Integer.parseInt(map.get("remindstart").toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate = c.getTime();map.put("remindstart", sdf.format(remindStartDate));}if(map.get("remindend")!=null) {Integer remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<HuodongbaomingEntity> wrapper = new EntityWrapper<HuodongbaomingEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("yonghu")) {wrapper.eq("yonghuzhanghao", (String)request.getSession().getAttribute("username"));}int count = huodongbaomingService.selectCount(wrapper);return R.ok().put("count", count);}}
package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
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 com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.JiuwujuanzengEntity;
import com.entity.view.JiuwujuanzengView;import com.service.JiuwujuanzengService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
import java.io.IOException;/*** 旧物捐赠* 后端接口* @author * @email * @date 2022-04-18 12:00:47*/
@RestController
@RequestMapping("/jiuwujuanzeng")
public class JiuwujuanzengController {@Autowiredprivate JiuwujuanzengService jiuwujuanzengService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,JiuwujuanzengEntity jiuwujuanzeng,HttpServletRequest request){String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("yonghu")) {jiuwujuanzeng.setYonghuzhanghao((String)request.getSession().getAttribute("username"));}EntityWrapper<JiuwujuanzengEntity> ew = new EntityWrapper<JiuwujuanzengEntity>();PageUtils page = jiuwujuanzengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiuwujuanzeng), params), params));return R.ok().put("data", page);}/*** 前端列表*/@IgnoreAuth@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,JiuwujuanzengEntity jiuwujuanzeng, HttpServletRequest request){EntityWrapper<JiuwujuanzengEntity> ew = new EntityWrapper<JiuwujuanzengEntity>();PageUtils page = jiuwujuanzengService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiuwujuanzeng), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( JiuwujuanzengEntity jiuwujuanzeng){EntityWrapper<JiuwujuanzengEntity> ew = new EntityWrapper<JiuwujuanzengEntity>();ew.allEq(MPUtil.allEQMapPre( jiuwujuanzeng, "jiuwujuanzeng")); return R.ok().put("data", jiuwujuanzengService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(JiuwujuanzengEntity jiuwujuanzeng){EntityWrapper< JiuwujuanzengEntity> ew = new EntityWrapper< JiuwujuanzengEntity>();ew.allEq(MPUtil.allEQMapPre( jiuwujuanzeng, "jiuwujuanzeng")); JiuwujuanzengView jiuwujuanzengView =  jiuwujuanzengService.selectView(ew);return R.ok("查询旧物捐赠成功").put("data", jiuwujuanzengView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){JiuwujuanzengEntity jiuwujuanzeng = jiuwujuanzengService.selectById(id);return R.ok().put("data", jiuwujuanzeng);}/*** 前端详情*/@IgnoreAuth@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){JiuwujuanzengEntity jiuwujuanzeng = jiuwujuanzengService.selectById(id);return R.ok().put("data", jiuwujuanzeng);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody JiuwujuanzengEntity jiuwujuanzeng, HttpServletRequest request){jiuwujuanzeng.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(jiuwujuanzeng);jiuwujuanzengService.insert(jiuwujuanzeng);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody JiuwujuanzengEntity jiuwujuanzeng, HttpServletRequest request){jiuwujuanzeng.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(jiuwujuanzeng);jiuwujuanzengService.insert(jiuwujuanzeng);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody JiuwujuanzengEntity jiuwujuanzeng, HttpServletRequest request){//ValidatorUtils.validateEntity(jiuwujuanzeng);jiuwujuanzengService.updateById(jiuwujuanzeng);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){jiuwujuanzengService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/@RequestMapping("/remind/{columnName}/{type}")public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) {map.put("column", columnName);map.put("type", type);if(type.equals("2")) {SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Calendar c = Calendar.getInstance();Date remindStartDate = null;Date remindEndDate = null;if(map.get("remindstart")!=null) {Integer remindStart = Integer.parseInt(map.get("remindstart").toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate = c.getTime();map.put("remindstart", sdf.format(remindStartDate));}if(map.get("remindend")!=null) {Integer remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<JiuwujuanzengEntity> wrapper = new EntityWrapper<JiuwujuanzengEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}String tableName = request.getSession().getAttribute("tableName").toString();if(tableName.equals("yonghu")) {wrapper.eq("yonghuzhanghao", (String)request.getSession().getAttribute("username"));}int count = jiuwujuanzengService.selectCount(wrapper);return R.ok().put("count", count);}}
package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
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 com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.XuanchuanxinwenEntity;
import com.entity.view.XuanchuanxinwenView;import com.service.XuanchuanxinwenService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
import java.io.IOException;/*** 宣传新闻* 后端接口* @author * @email * @date 2022-04-18 12:00:46*/
@RestController
@RequestMapping("/xuanchuanxinwen")
public class XuanchuanxinwenController {@Autowiredprivate XuanchuanxinwenService xuanchuanxinwenService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,XuanchuanxinwenEntity xuanchuanxinwen,HttpServletRequest request){EntityWrapper<XuanchuanxinwenEntity> ew = new EntityWrapper<XuanchuanxinwenEntity>();PageUtils page = xuanchuanxinwenService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xuanchuanxinwen), params), params));return R.ok().put("data", page);}/*** 前端列表*/@IgnoreAuth@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,XuanchuanxinwenEntity xuanchuanxinwen, HttpServletRequest request){EntityWrapper<XuanchuanxinwenEntity> ew = new EntityWrapper<XuanchuanxinwenEntity>();PageUtils page = xuanchuanxinwenService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, xuanchuanxinwen), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( XuanchuanxinwenEntity xuanchuanxinwen){EntityWrapper<XuanchuanxinwenEntity> ew = new EntityWrapper<XuanchuanxinwenEntity>();ew.allEq(MPUtil.allEQMapPre( xuanchuanxinwen, "xuanchuanxinwen")); return R.ok().put("data", xuanchuanxinwenService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(XuanchuanxinwenEntity xuanchuanxinwen){EntityWrapper< XuanchuanxinwenEntity> ew = new EntityWrapper< XuanchuanxinwenEntity>();ew.allEq(MPUtil.allEQMapPre( xuanchuanxinwen, "xuanchuanxinwen")); XuanchuanxinwenView xuanchuanxinwenView =  xuanchuanxinwenService.selectView(ew);return R.ok("查询宣传新闻成功").put("data", xuanchuanxinwenView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){XuanchuanxinwenEntity xuanchuanxinwen = xuanchuanxinwenService.selectById(id);return R.ok().put("data", xuanchuanxinwen);}/*** 前端详情*/@IgnoreAuth@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){XuanchuanxinwenEntity xuanchuanxinwen = xuanchuanxinwenService.selectById(id);return R.ok().put("data", xuanchuanxinwen);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody XuanchuanxinwenEntity xuanchuanxinwen, HttpServletRequest request){xuanchuanxinwen.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(xuanchuanxinwen);xuanchuanxinwenService.insert(xuanchuanxinwen);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody XuanchuanxinwenEntity xuanchuanxinwen, HttpServletRequest request){xuanchuanxinwen.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(xuanchuanxinwen);xuanchuanxinwenService.insert(xuanchuanxinwen);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody XuanchuanxinwenEntity xuanchuanxinwen, HttpServletRequest request){//ValidatorUtils.validateEntity(xuanchuanxinwen);xuanchuanxinwenService.updateById(xuanchuanxinwen);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){xuanchuanxinwenService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/@RequestMapping("/remind/{columnName}/{type}")public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) {map.put("column", columnName);map.put("type", type);if(type.equals("2")) {SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Calendar c = Calendar.getInstance();Date remindStartDate = null;Date remindEndDate = null;if(map.get("remindstart")!=null) {Integer remindStart = Integer.parseInt(map.get("remindstart").toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate = c.getTime();map.put("remindstart", sdf.format(remindStartDate));}if(map.get("remindend")!=null) {Integer remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<XuanchuanxinwenEntity> wrapper = new EntityWrapper<XuanchuanxinwenEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}int count = xuanchuanxinwenService.selectCount(wrapper);return R.ok().put("count", count);}}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/646529.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Docker的Cgroup资源限制

目录 前瞻 CPU 资源控制 设置CPU使用率上限 设置CPU资源占用比&#xff08;设置多个容器时才有效&#xff09; 设置容器绑定指定的CPU 内存资源限制 对磁盘IO配额控制&#xff08;blkio&#xff09;的限制 前瞻 Docker 通过 Cgroup 来控制容器使用的资源配额&#xff0c…

让抖音引流到微信小程序的三方工具数灵通

抖音作为一款火爆的短视频社交平台&#xff0c;吸引了数亿用户的关注和喜爱。除了观看和制作视频外&#xff0c;抖音还提供了跳转到小程序的功能&#xff0c;让用户可以享受更多功能和乐趣。那么&#xff0c;如何在抖音中跳转到小程序呢&#xff1f;以下是详细解答&#xff1a;…

SpringBoot使用druid

SpringBoot使用druid 一、前言二、配置1、pom依赖2、配置文件yml3、配置类 一、前言 Java程序很大一部分要操作数据库&#xff0c;为了提高性能操作数据库的时候&#xff0c;又不得不使用数据库连接池。 Druid 是阿里巴巴开源平台上一个数据库连接池实现&#xff0c;结合了 C…

leetcode:排序链表(递归)

题目&#xff1a; 给定链表的头结点 head &#xff0c;请将其按 升序 排列并返回 排序后的链表 。 示例 1&#xff1a; 输入&#xff1a;head [4,2,1,3] 输出&#xff1a;[1,2,3,4]示例 2&#xff1a; 输入&#xff1a;head [-1,5,3,4,0] 输出&#xff1a;[-1,0,3,4,5]示例…

【华为 ICT HCIA eNSP 习题汇总】——题目集8

1、在VRP平台下&#xff0c;关于各个协议的外部优先级的描述&#xff0c;正确的是&#xff08;&#xff09;。 A、OSPF路由的外部优先级是15 B、IS-IS路由的外部优先级是10 C、静态路由的外部优先级是60 D、BGP路由的外部优先级是20 考点&#xff1a;路由技术原理 解析&#xf…

钉钉企业机器人单聊消息发送实践-大数据平台(XSailboat)消息中心消息推送

1. 背景 在笔者开发的大数据平台XSailboat中有 消息中心 模块&#xff0c;用来全平台的消息收集&#xff0c;整理分拆、订阅发送等功能。消息推送方式支持钉钉群聊、钉钉单聊、短信通知。现记录一下企业机器人消息单聊推送的实现过程。 2. 钉钉开发文档 这是官方的开发文档地…

MyBatis中一级缓存是什么?SqlSession一级缓存失效的原因?如何理解一级缓存?

一级缓存是SqlSession级别的&#xff0c;通过同一个SqlSession查询的数据会被缓存&#xff0c;下次查询相同的数据&#xff0c;就 会从缓存中直接获取&#xff0c;不会从数据库重新访问 使一级缓存失效的四种情况&#xff1a; 1) 不同的SqlSession对应不同的一级缓存 2) 同一…

好书推荐丨豆瓣评出9.2高分!Python编程入门就看蟒蛇书

目录 写在前面 内容简介 业内专家推荐 编辑推荐 资源丰富 作者介绍 Q&A 粉丝福利 写在后面 写在前面 在这日新月异的科技新时代&#xff0c;编程如同一把万能钥匙&#xff0c;为无数人打开了通向无限可能的大门。而在众多编程语言中&#xff0c;Python无疑是最耀…

etcd未授权到控制k8s集群

在安装完 K8s 后&#xff0c;默认会安装 etcd 组件&#xff0c;etcd 是一个高可用的 key-value 数据库&#xff0c;它为 k8s 集群提供底层数据存储&#xff0c;保存了整个集群的状态。大多数情形下&#xff0c;数据库中的内容没有加密&#xff0c;因此如果黑客拿下 etcd&#x…

防御课程—华为USG6000V1的配置实验(一)

实验拓扑&#xff1a; 实验分析 由实验拓扑图需求分析可知我们在生产区和办公区需要用到子接口技术 实验配置 在Cloud1上配置 在DMZ区域配置 在server1上配置在server2上配置在防火墙上进行的配置 由实验拓扑图可知防火墙与DMZ区域相连的接口为GigabitEthernet1/0/0接口 …

Pandas.Series.median() 中位数 详解 含代码 含测试数据集 随Pandas版本持续更新

关于Pandas版本&#xff1a; 本文基于 pandas2.2.0 编写。 关于本文内容更新&#xff1a; 随着pandas的stable版本更迭&#xff0c;本文持续更新&#xff0c;不断完善补充。 传送门&#xff1a; Pandas API参考目录 传送门&#xff1a; Pandas 版本更新及新特性 传送门&…

MySQL(基础篇)——SQL

一.SQL分类 二.DDL(数据定义语言) 1.DDL——数据库操作 ① 查询 查询所有数据库 SHOW DATABASES 查询当前所处数据库 SELECT DATABASE() ② 创建 CREATE DATABASE [IF NOT EXISTS] 数据库名(通常以db结尾) [DEFAULT CHARSET 字符集] [COLLATE 排序规则] ③ …

java分布式锁详解

本地锁 浏览器把100w请求由网关随机往下传&#xff0c;在集群情况下&#xff0c;每台服务都放行10w请求过来&#xff0c;这时候每台服务都用的是本地锁是跨JVM的&#xff0c; 列如这些服务都没有49企业&#xff0c;此时有几个服务进行回原了打击在DB上面&#xff0c;那后期把这…

Allegro PCB如何关联原理图?

在用Allegro进行PCB设计时,我们可以点击Orcad原理图上的器件,然后PCB会自动跳转到该器件。那如何操作PCB上的器件点击跳转到原理图呢? 这种方式可以提高设计的效率。具体操作如下。 选择菜单栏Display

【软考问题】-- 2 - 知识精讲 - 项目立项管理

一、基本问题 1&#xff1a;项目投资前时期的四个阶段是什么&#xff1f; a.项目建议与立项申请 (1)定义&#xff1a;项目建设单位向上级主管部门提交项目申请时所必须的文件。(2)特点&#xff1a;项目发展周期的初始阶段、可行性研究的依据。(3)注意&#xff1a;又称项目建议书…

xinput1_3.dll文件的几种修复办法以及修复xinput1_3.dll注意事项

xinput1_3.dll文件是DirectX的一部分&#xff0c;它在Windows系统中负责处理游戏控制器的输入。然而&#xff0c;有时候此文件可能会出现问题&#xff0c;导致游戏无法正常运行或启动。在本文中&#xff0c;将介绍多种解决xinput1_3.dll文件问题的方法&#xff0c;并对它们进行…

【Web前端开发基础】CSS3之空间转换和动画

CSS3之空间转换和动画 目录 CSS3之空间转换和动画一、空间转换1.1 概述1.2 3D转换常用的属性1.3 3D转换&#xff1a;translate3d&#xff08;位移&#xff09;1.4 3D转换&#xff1a;perspective&#xff08;视角&#xff09;1.5 3D转换&#xff1a;rotate3d&#xff08;旋转&a…

vit细粒度图像分类(一)CADF学习笔记

1.摘要&#xff1a; 目的 基于Transformer架构的网络在图像分类中表现出优异的性能。然而&#xff0c;注意力机制往往只关注图像中的显著性特征&#xff0c;而忽略了其他区域的次级显著信息&#xff0c;基于自注意力机制的Transformer也是如此。为了获取更多的有效信息&#…

Spring基于AbstractRoutingDataSource实现MySQL多数据源

目录 多数据源实现 yml配置文件 配置类 业务代码 案例演示 多数据源实现 yml配置文件 spring:datasource:type: com.alibaba.druid.pool.DruidDataSourcedatasource1:url: jdbc:mysql://127.0.0.1:3306/datasource1?serverTimezoneUTC&useUnicodetrue&characte…

企业转型:虚拟化对云计算的影响

虚拟化被认为是IT行业最优秀的技术之一。虚拟化提供的灵活性和效率&#xff0c;有助于企业根据不断变化的需求扩展其IT基础设施。虚拟化是云基础设施的基础&#xff0c;允许按需动态分配和管理计算资源。这种适应性对于满足现代企业的多样化需求至关重要&#xff0c;因为现代企…