Spring注解大全 1.声明bean的注解 Spring注解 描述 @Component 组件,没有明确的角色, 有以下三个衍生层 @Service 在业务逻辑层使用(service层) @Repository 持久层声明的注解 (dao层) @Controlle 声明Http处理对象 (web层 ...
分类:
编程语言 时间:
2020-06-25 13:57:37
阅读次数:
78
第 1 章 概述 计算机网络在信息时代中的作用 21 世纪的一些重要特征就是数字化、网络化和信息化,它是一个以网络为核心的信息时代。 网络是指“三网”,即电信网络、有线电视网络和计算机网络。 发展最快的并起到核心作用的是计算机网络。 互联网(Internet)的发展 进入 20 世纪 90 年代以后 ...
分类:
其他好文 时间:
2020-06-25 13:41:59
阅读次数:
134
在搭建UOJ中,发生了一些问题,解决后记录于此。 There is something wrong with database >_<.... Connection refused 方法: docker exec -it uoj /bin/bash service mysql restart 未完待 ...
分类:
其他好文 时间:
2020-06-25 12:12:26
阅读次数:
79
使用 axios 后台无法接收到数据的解决方案 如果想看排错思路的,可以看完踩坑经历,想直接要结果的,可以直接看解决方案。 踩坑经历 最近我在使用 SSM + Vue 做自己的小项目。Dao层 和 Service层 之类的代码已经写好了,就差 Controller层 和 Vue 的视图层还没有完成。 ...
分类:
移动开发 时间:
2020-06-25 10:13:27
阅读次数:
144
一、场景介绍因服务器被***,删除了数据库,并索要金额。鉴于不安全性,决定开启iptables防火墙实现安全性,并将默认的firewalld卸掉。二、具体步骤安装iptableiptable-service先检查是否安装了iptablesserviceiptablesstatus安装iptablesyuminstall-yiptables升级iptablesyumupdateiptables安装ip
分类:
其他好文 时间:
2020-06-25 10:08:50
阅读次数:
63
实例:利用docker service创建一个wordpress 首先在manager节点创建一个overlay网络y docker network create -d overlay web 然后分别启动mysql和wordpress的service docker service create - ...
分类:
其他好文 时间:
2020-06-25 10:06:24
阅读次数:
85
技术栈 node.js, vue.js, axios, python, django, orm, restful api, djangorestframework, mysql, nginx, jenkins. 环境配置 操作系统 Windows 7 旗舰版,Service Pack 1。 前端 N ...
分类:
Web程序 时间:
2020-06-25 09:43:06
阅读次数:
71
由于使用模板替换生成的 yaml 文件,端口号deployment service 是一致的,但是在发布时不能确定jar应用的端口号(真不配合,没办法) 造成要修改端口号,deployment 替换模板后直接调用 curl PUT 可以更新,但是service 出现问题, 前期是删除sevice,造 ...
1.下载UEditor 2.新闻上传 package Controller; import Entity.News; import Service.NewsService; import Util.Category; import javax.servlet.ServletException; im ...
分类:
Web程序 时间:
2020-06-24 23:58:49
阅读次数:
130
一、删除新闻 1.1 Controller层 1.2 Service层 二、新闻的修改 2.1 Controller层 2.2 Service层 三、新闻的添加 3.1 Controller层 3.2 Service层 四、新闻的查看 4.1 Controller层 4.2 Service层 五、效 ...
分类:
Web程序 时间:
2020-06-24 23:41:33
阅读次数:
68