- 2024Mysql And Redis基础与进阶操作系列(8)作者——LJS[含MySQL 创建、修改、跟新、重命名、删除视图等具体详步骤;注意点及常见报错问题所对应的解决方法]
肾透侧视攻城狮
MYSQLREDISAdvanceoperationredismysql数据库linuxsqlbashadb
目录1MySQL视图1.概念2.作用3.特点4.具体如何操作实现MYSQL视图4.1创建视图语法示例查看表和视图查看视图的结构查看视图属性信息(比如:显示数据表的存储引擎、版本、数据行数和数据大小等)查看视图的详细定义信息4.2修改视图简介格式举例4.3更新视图简介下述结构中不可更新的视图补充说明举例更新视图视图包含聚合函数不可更新视图包含distinct不可更新视图包含goupby、having
- Stream 流 根据对象属性去重
abments
jdk1.8新特性pythonpandas数据分析
目录前言一、实现原理二、实现过程三、filter过滤器的原理总结前言这篇文章介绍一种通过stream流对集合中的对象根据key值去重的简便方法。一、实现原理通过Stream流中的filter方法实现对数据的去重,具体操作是构造一个Predict对象,在Predict中通过检查数据是否存在返回断言中的布尔值。二、实现过程代码如下:publicstaticPredicatedistinctPredic
- mysql查询慢排查_mysql慢查询排查优化
weixin_39970855
mysql查询慢排查
即时分析:showfullpercesslist;开启慢查询日志,分析日志记录:long_query_time=1log-slow-queries=/data/3306/slow.loglog_queries_not_using_indexes分割日志发送至邮箱加explain查看语句的具体执行方式,并定位在哪些字段加上索引,查看条件字段的唯一值selectcount(distinctcolumn
- MySQL之DQL条件查询
忧郁的西红柿
mysqlandroid数据库
1、单条件查询2.1单条件查询语法:SELECT[DISTINCT]*|列名|表达式[别名][,...]FROM表名[WHERE条件表达式];说明:1、条件查询使用WHERE子句来完成,WHERE子句必须紧跟在FROM子句后面。2、条件表达式的格式为:列名比较运算符要比较的值,如deptno=10表示部门编号为10号。3、比较运算符包括=、>、>=、,含义分别是等于、大于、大等于、小于、小等于、不
- 两个月冲刺软考——SQL基础:排序、分组和聚合函数的实用指南
努力编程的阿伟
软考-数据库数据库sql
1.涉及到的部分基本语法1.1ORDERBY与GROUPBYORDERBY用于对查询结果进行排序;默认是升序(ASC),可以指定降序(DESC)。GROUPBY用于将数据按照一个或多个列进行分组;通常与聚合函数(如SUM、AVG、COUNT等)一起使用。使用聚合函数时需加括号,即:AVG(单价),表示平均单价。二者均位于SQL语句的末尾。1.2SELECT语句SELECT[DISTINCT]col
- SQL的高级查询练习知识点(day24)
小星袁
MySQL数据库基础知识大全数据库sqlmysql
目录1学习目标2基础查询2.1语法2.2例子3条件查询3.1含义3.2语法3.3条件表达式3.3.1条件运算符3.3.2例子3.4逻辑表达式3.4.1逻辑运算符3.4.2例子3.5模糊查询3.5.1概述3.5.2例子4DISTINCT关键字4.1含义4.2例子5总结一键三连哦!各位袁友......1学习目标重点掌握基础查询语法重点掌握条件查询语法重点掌握distinct关键字的使用2基础查询2.1
- 小记XML写sql的聚合函数用法
J总裁的小芒果
sqlxml数据库
一、GROUP_CONCAT手动查出需要用于查询、展示的字段用法:(需要GROUPBY)将每个岗位下的姓名合并为一个以逗号分隔的字符串SELECTGROUP_CONCAT(DISTINCTu.nickNameSEPARATOR',')FROMsystem_postASpostJOINsystem_user_postASupONpost.id=up.post_idWHERE.......--DIST
- stream流式编程
chenlaida
JAVA8java
文章目录stream流式编程常用的stream三种创建方式Stream的终止操作Collectors具体方法常用方法filtermapgroupBy求和交集,并集,差集flatMappeekdistinctlimitsortedmatch匹配find寻找元素计数和极值stream流式编程常用的stream三种创建方式集合Collection.stream()静态方法Streamof数组Arrays
- 【SQL】跳过记录筛选第二名
F_D_Z
SQLsql数据库MySQL
目录语法需求示例分析代码语法SELECTDISTINCTcolumn1,column2,...SELECTDISTINCT语句用于返回唯一不同的值。SELECTDISTINCT后面跟着想要获取唯一值的列名,列名之间用逗号分隔。当从数据库表中查询数据时,如果表中某列包含重复的值,而又只想获取这些值的唯一列表,那么就可以使用DISTINCT关键字。如果对多个列使用DISTINCT,那么SQL会返回这些
- 单细胞转录组和表观组学图谱揭示效应、记忆和耗竭CD8 T细胞在不同细胞命运分化中的共享生物学特征(下篇)
Davey1220
文章信息文章题目:Longitudinalsinglecelltranscriptionalandepigeneticmappingofeffector,memory,andexhaustedCD8Tcellsrevealssharedbiologicalcircuitsacrossdistinctcellfates期刊:bioRxiv链接:https://www.biorxiv.org/cont
- mysql 聚合函数 / having
_Rookie._
MYSQLmysql
与聚合函数同时出现的列,必须同时出现在groupby子句中过滤条件中使用了聚合函数,必须用having替换where过滤条件中没有使用聚合函数,可以用having或者where建议wherehavingmax()having使用范围更广having是先连接后筛选,where是先筛选后连接sql执行顺序1、fromjoinwheregroupbyhaving2、selectdistinct聚合函数3
- SQL基础(四)-- SQL连接时去掉重复数据
weixin_30478923
一、关键词DISTINCT用于返回唯一不同的值,只可以在select中使用。1.重复数据完全一样,用distinctselectdistinct*fromtable根据字段去重用distinctselectdistinct列名称from表名称(对一列进行操作)selectdistinct列名称1,列名称2from表名称(对多列进行操作):对多列操作,表示选取多列都不重复的数据,相当于多列拼接的记录
- SQL基础语法
隔壁村的菜GO
数据库sql数据库
SQL语句基本语法查询SELECTcolumn_name,column_nameFROMtable_name;SELECT*FROMtable_name;SELECTDISTINCTcolumn_nameFROMtable_name;DISTINCT关键词用于返回唯一不同的值。SELECT*FROMtable_nameWHEREcolumn_name=value;WHERE子句用于提取那些满足指定
- mapper.xml中特殊符号的转义
SheldonChang
数据库javamybatisxml
在使用mapper.xml编写sql语句的时候,我们经常会使用到比较符号,此时不可以像往常一样直接进行使用,需要进行转义,转义参考规则如:>=&’"<<=>>=&'"例如常见的时间比较:错误写法selectdistinctfromxxxcreate_date正确写法selectdistinctfromxxxcreate_date<=#{cr
- Java中的Stream流
·云扬·
Javajava开发语言
文章目录1引言使用流解决上述问题2流的概述2.2什么是流2.3流用来解决什么问题2.4怎么使用流3创建流4中间操作4.1==filter(过滤操作)==4.2distinct(去重)4.3limit(截取)4.4skip(跳过)4.5==map(转换)==4.6sorted(排序)5终止操作5.1anyMatch(是否有任意一个匹配)5.2allMatch(是否所有的全匹配)5.3noneMatc
- 讲解:41900、C、C/C++、C/C++、CWeb|Prolog
eioo108
41900–FundamentalsofSecurityProject–2(Week8–Week12)One-WayPropertyversusCollision-FreePropertyInthisprojectyouwillinvestigatethedifferencebetweenhashfunction’stwodistinctiveproperties:one-waypropertya
- Lambda终结操作count
Leon_Jinhai_Sun
Lambda
count可以用来获取当前流中元素的个数。例子:打印这些作家的所出书籍的数目,注意删除重复元素。//打印这些作家的所出书籍的数目,注意删除重复元素。Listauthors=getAuthors();longcount=authors.stream().flatMap(author->author.getBooks().stream()).distinct().count();System.out.
- sql学习 sum()和count()
ferventtempo_
SQL学习
1、count的常用用法count(column_name)函数返回指定列的值的数目count(*)、count(1)函数返回表的行数count(distinctcolumn_name)函数返回column_name不同的的行数2、sumsum()函数返回数值列的总数。注意:count(条件)即使条件不满足,括号内为非null时也会加1,而sum(条件)只有在满足条件表达式才加1使用if(a,b,
- java-stream
滑上又滑落 一收和一放
自学技能点java
streamstream记录一下,方便以后查询,就是怕自己记不住stream方法作用filter()接收lambda,从流中排除某些操作limit()截断流,使其元素不超过给定对象skip(n)跳过元素,返回一个扔掉了前n个元素的流,若流中元素不足n个,则返回一个空流,与limit(n)互补distinct筛选,通过流所生成元素的hashCode()和equals去除重复元素map接受Lambda
- 每日刷力扣SQL题(六)
Jy_0622
leetcodesql数据库
1978.上级经理已离职的公司员工selectemployee_idfromEmployeeswheresalary<30000andmanager_idnotin(selectdistinctemployee_idfromEmployees)orderbyemployee_idASC626换座位在SQL中实现每两行交换数据可以通过使用窗口函数和自连接来完成。#WriteyourMySQLquer
- 每日刷力扣SQL(九)
Jy_0622
leetcodesql算法
1484.按日期分组销售产品转载首先,根据题目的描述以及给出的示例。我们能得到结果集中各个字段的含义如下:①sell_date:卖出产品的日期(应该不用解释了)②num_sold:当前这个日期下,卖出去了多少个不同的产品(注意是“不同的”,这决定了我们需要用DISTINCT去重)③products:某一sell_date下的卖出的所有不同产品的名称接着,我们一个一个思考怎么得到结果集中的各个字段针
- LeetCode 336. Palindrome Pairs
z6491679
acmleetcode
Givenalistofuniquewords.Findallpairsofdistinctindices(i,j)inthegivenlist,sothattheconcatenationofthetwowords,i.e.words[i]+words[j]isapalindrome.Example1:Givenwords=[“bat”,“tab”,“cat”]Return[[0,1],[1,0
- leetcode题解-336. Palindrome Pairs
liuchongee
leetcode刷题leetcode
题目:Givenalistofuniquewords,findallpairsofdistinctindices(i,j)inthegivenlist,sothattheconcatenationofthetwowords,i.e.words[i]+words[j]isapalindrome.Example1:Givenwords=[“bat”,“tab”,“cat”]Return[[0,1],[
- Leetcode 336. Palindrome Pairs- FB tag
a568093361
leetcode
Givenalistofuniquewords,findallpairsofdistinctindices(i,j)inthegivenlist,sothattheconcatenationofthetwowords,i.e.words[i]+words[j]isapalindrome.Example1:Input:["abcd","dcba","lls","s","sssll"]Output:[
- F - Simplified Reversi 矩阵侧边视角 修改
麦克风的纹路
算法
1行修改的时候只影响的是哪些位置因为Queriesarepairwisedistinct.也就是当前行修改过之后当前行就不会重复修改。额。实际上如果没有这个条件也无所谓的我们可以用一个vis来判重就行2用什么东西可以维护这样的区间修改主要还是行列间的查询和修改的互动。。还挺有意思…voidsolve(){cin>>n>>m;f.build(1,1,n-1,n-1);//(root,l,r,val)
- SQL -- distinct 函数的用法
xingchensuiyue
MySQLmysqlsql数据库
文章目录1SQL中distinct的用法1.1作用于单列1.2作用于多列1.3COUNT统计1SQL中distinct的用法先准备一张具有重复分数的单表scoresidnamescore1张三882李四913王二884赵五945周一916吴八961.1作用于单列#DISTINCT查询单个字段SELECTDISTINCTscoreFROM`scores`;查询结果:score889194961.2作
- sql-函数
weixin_45925478
SQLsqlhive
SQL函数及报错问题合集一、sql函数1.日期函数(**Hive**)1.1日期减少函数:date_sub1.2日期增加函数:date_add1.3日期格式转化函数:date2datekey/datekey2date2.字段去重2.1单字段去重(distinct)2.2多字段去重3.众数计算4.casewhen两种方式比较5.排名函数6.窗口函数二、sql报错1.重复嵌套聚合一、sql函数1.日期
- 分库分表学习笔记(一)
Murphy.Wang
关系型数据库数据库
图源(鹅厂技术架构师公众号)MySQL执行顺序:FROM:确定数据来源。JOIN:执行表之间的连接操作。WHERE:过滤记录。GROUPBY:对记录进行分组。HAVING:对分组结果进行过滤。SELECT:选择要返回的列。DISTINCT:去除重复记录(如果有)。ORDERBY:对结果排序。LIMIT:限制返回的记录数量。分表分库的演进系统随着用户量的提升,整个分库分表有以下阶段,随着数据库QPS
- leetcode打卡#day59 115. 不同的子序列、583. 两个字符串的删除操作、 72. 编辑距离
小吴同学(wlx)
leetcode算法
115.不同的子序列classSolution{public:intnumDistinct(strings,stringt){vector>dp(s.size()+1,vector(t.size()+1));for(inti=0;i>dp(word1.size()+1,vector(word2.size()+1));for(inti=0;i>dp(word1.size()+1,vector(wor
- (十三)Flink SQL
springk
Flink全景解析flinksql大数据实时数据处理实时数据数据库开发语言
目录DDL操作DML操作查询语句1.SELECTDISTINCT2.窗口函数3.窗口聚合4.OVER聚合5.连接操作6.TOP-NFlink对SQL的支持基于实现了SQL标准的ApacheCalcite,包括数据定义语言(DataDefinitionLanguage,DDL)、数据操纵语言(DataManipulationLanguage,DML)以及查询语言。目前FlinkSQL所支持的所有语句
- rust的指针作为函数返回值是直接传递,还是先销毁后创建?
wudixiaotie
返回值
这是我自己想到的问题,结果去知呼提问,还没等别人回答, 我自己就想到方法实验了。。
fn main() {
let mut a = 34;
println!("a's addr:{:p}", &a);
let p = &mut a;
println!("p's addr:{:p}", &a
- java编程思想 -- 数据的初始化
百合不是茶
java数据的初始化
1.使用构造器确保数据初始化
/*
*在ReckInitDemo类中创建Reck的对象
*/
public class ReckInitDemo {
public static void main(String[] args) {
//创建Reck对象
new Reck();
}
}
- [航天与宇宙]为什么发射和回收航天器有档期
comsci
地球的大气层中有一个时空屏蔽层,这个层次会不定时的出现,如果该时空屏蔽层出现,那么将导致外层空间进入的任何物体被摧毁,而从地面发射到太空的飞船也将被摧毁...
所以,航天发射和飞船回收都需要等待这个时空屏蔽层消失之后,再进行
&
- linux下批量替换文件内容
商人shang
linux替换
1、网络上现成的资料
格式: sed -i "s/查找字段/替换字段/g" `grep 查找字段 -rl 路径`
linux sed 批量替换多个文件中的字符串
sed -i "s/oldstring/newstring/g" `grep oldstring -rl yourdir`
例如:替换/home下所有文件中的www.admi
- 网页在线天气预报
oloz
天气预报
网页在线调用天气预报
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transit
- SpringMVC和Struts2比较
杨白白
springMVC
1. 入口
spring mvc的入口是servlet,而struts2是filter(这里要指出,filter和servlet是不同的。以前认为filter是servlet的一种特殊),这样就导致了二者的机制不同,这里就牵涉到servlet和filter的区别了。
参见:http://blog.csdn.net/zs15932616453/article/details/8832343
2
- refuse copy, lazy girl!
小桔子
copy
妹妹坐船头啊啊啊啊!都打算一点点琢磨呢。文字编辑也写了基本功能了。。今天查资料,结果查到了人家写得完完整整的。我清楚的认识到:
1.那是我自己觉得写不出的高度
2.如果直接拿来用,很快就能解决问题
3.然后就是抄咩~~
4.肿么可以这样子,都不想写了今儿个,留着作参考吧!拒绝大抄特抄,慢慢一点点写!
- apache与php整合
aichenglong
php apache web
一 apache web服务器
1 apeche web服务器的安装
1)下载Apache web服务器
2)配置域名(如果需要使用要在DNS上注册)
3)测试安装访问http://localhost/验证是否安装成功
2 apache管理
1)service.msc进行图形化管理
2)命令管理,配
- Maven常用内置变量
AILIKES
maven
Built-in properties
${basedir} represents the directory containing pom.xml
${version} equivalent to ${project.version} (deprecated: ${pom.version})
Pom/Project properties
Al
- java的类和对象
百合不是茶
JAVA面向对象 类 对象
java中的类:
java是面向对象的语言,解决问题的核心就是将问题看成是一个类,使用类来解决
java使用 class 类名 来创建类 ,在Java中类名要求和构造方法,Java的文件名是一样的
创建一个A类:
class A{
}
java中的类:将某两个事物有联系的属性包装在一个类中,再通
- JS控制页面输入框为只读
bijian1013
JavaScript
在WEB应用开发当中,增、删除、改、查功能必不可少,为了减少以后维护的工作量,我们一般都只做一份页面,通过传入的参数控制其是新增、修改或者查看。而修改时需将待修改的信息从后台取到并显示出来,实际上就是查看的过程,唯一的区别是修改时,页面上所有的信息能修改,而查看页面上的信息不能修改。因此完全可以将其合并,但通过前端JS将查看页面的所有信息控制为只读,在信息量非常大时,就比较麻烦。
- AngularJS与服务器交互
bijian1013
JavaScriptAngularJS$http
对于AJAX应用(使用XMLHttpRequests)来说,向服务器发起请求的传统方式是:获取一个XMLHttpRequest对象的引用、发起请求、读取响应、检查状态码,最后处理服务端的响应。整个过程示例如下:
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange
- [Maven学习笔记八]Maven常用插件应用
bit1129
maven
常用插件及其用法位于:http://maven.apache.org/plugins/
1. Jetty server plugin
2. Dependency copy plugin
3. Surefire Test plugin
4. Uber jar plugin
1. Jetty Pl
- 【Hive六】Hive用户自定义函数(UDF)
bit1129
自定义函数
1. 什么是Hive UDF
Hive是基于Hadoop中的MapReduce,提供HQL查询的数据仓库。Hive是一个很开放的系统,很多内容都支持用户定制,包括:
文件格式:Text File,Sequence File
内存中的数据格式: Java Integer/String, Hadoop IntWritable/Text
用户提供的 map/reduce 脚本:不管什么
- 杀掉nginx进程后丢失nginx.pid,如何重新启动nginx
ronin47
nginx 重启 pid丢失
nginx进程被意外关闭,使用nginx -s reload重启时报如下错误:nginx: [error] open() “/var/run/nginx.pid” failed (2: No such file or directory)这是因为nginx进程被杀死后pid丢失了,下一次再开启nginx -s reload时无法启动解决办法:nginx -s reload 只是用来告诉运行中的ng
- UI设计中我们为什么需要设计动效
brotherlamp
UIui教程ui视频ui资料ui自学
随着国际大品牌苹果和谷歌的引领,最近越来越多的国内公司开始关注动效设计了,越来越多的团队已经意识到动效在产品用户体验中的重要性了,更多的UI设计师们也开始投身动效设计领域。
但是说到底,我们到底为什么需要动效设计?或者说我们到底需要什么样的动效?做动效设计也有段时间了,于是尝试用一些案例,从产品本身出发来说说我所思考的动效设计。
一、加强体验舒适度
嗯,就是让用户更加爽更加爽的用你的产品。
- Spring中JdbcDaoSupport的DataSource注入问题
bylijinnan
javaspring
参考以下两篇文章:
http://www.mkyong.com/spring/spring-jdbctemplate-jdbcdaosupport-examples/
http://stackoverflow.com/questions/4762229/spring-ldap-invoking-setter-methods-in-beans-configuration
Sprin
- 数据库连接池的工作原理
chicony
数据库连接池
随着信息技术的高速发展与广泛应用,数据库技术在信息技术领域中的位置越来越重要,尤其是网络应用和电子商务的迅速发展,都需要数据库技术支持动 态Web站点的运行,而传统的开发模式是:首先在主程序(如Servlet、Beans)中建立数据库连接;然后进行SQL操作,对数据库中的对象进行查 询、修改和删除等操作;最后断开数据库连接。使用这种开发模式,对
- java 关键字
CrazyMizzz
java
关键字是事先定义的,有特别意义的标识符,有时又叫保留字。对于保留字,用户只能按照系统规定的方式使用,不能自行定义。
Java中的关键字按功能主要可以分为以下几类:
(1)访问修饰符
public,private,protected
p
- Hive中的排序语法
daizj
排序hiveorder byDISTRIBUTE BYsort by
Hive中的排序语法 2014.06.22 ORDER BY
hive中的ORDER BY语句和关系数据库中的sql语法相似。他会对查询结果做全局排序,这意味着所有的数据会传送到一个Reduce任务上,这样会导致在大数量的情况下,花费大量时间。
与数据库中 ORDER BY 的区别在于在hive.mapred.mode = strict模式下,必须指定 limit 否则执行会报错。
- 单态设计模式
dcj3sjt126com
设计模式
单例模式(Singleton)用于为一个类生成一个唯一的对象。最常用的地方是数据库连接。 使用单例模式生成一个对象后,该对象可以被其它众多对象所使用。
<?phpclass Example{ // 保存类实例在此属性中 private static&
- svn locked
dcj3sjt126com
Lock
post-commit hook failed (exit code 1) with output:
svn: E155004: Working copy 'D:\xx\xxx' locked
svn: E200031: sqlite: attempt to write a readonly database
svn: E200031: sqlite: attempt to write a
- ARM寄存器学习
e200702084
数据结构C++cC#F#
无论是学习哪一种处理器,首先需要明确的就是这种处理器的寄存器以及工作模式。
ARM有37个寄存器,其中31个通用寄存器,6个状态寄存器。
1、不分组寄存器(R0-R7)
不分组也就是说说,在所有的处理器模式下指的都时同一物理寄存器。在异常中断造成处理器模式切换时,由于不同的处理器模式使用一个名字相同的物理寄存器,就是
- 常用编码资料
gengzg
编码
List<UserInfo> list=GetUserS.GetUserList(11);
String json=JSON.toJSONString(list);
HashMap<Object,Object> hs=new HashMap<Object, Object>();
for(int i=0;i<10;i++)
{
- 进程 vs. 线程
hongtoushizi
线程linux进程
我们介绍了多进程和多线程,这是实现多任务最常用的两种方式。现在,我们来讨论一下这两种方式的优缺点。
首先,要实现多任务,通常我们会设计Master-Worker模式,Master负责分配任务,Worker负责执行任务,因此,多任务环境下,通常是一个Master,多个Worker。
如果用多进程实现Master-Worker,主进程就是Master,其他进程就是Worker。
如果用多线程实现
- Linux定时Job:crontab -e 与 /etc/crontab 的区别
Josh_Persistence
linuxcrontab
一、linux中的crotab中的指定的时间只有5个部分:* * * * *
分别表示:分钟,小时,日,月,星期,具体说来:
第一段 代表分钟 0—59
第二段 代表小时 0—23
第三段 代表日期 1—31
第四段 代表月份 1—12
第五段 代表星期几,0代表星期日 0—6
如:
*/1 * * * * 每分钟执行一次。
*
- KMP算法详解
hm4123660
数据结构C++算法字符串KMP
字符串模式匹配我们相信大家都有遇过,然而我们也习惯用简单匹配法(即Brute-Force算法),其基本思路就是一个个逐一对比下去,这也是我们大家熟知的方法,然而这种算法的效率并不高,但利于理解。
假设主串s="ababcabcacbab",模式串为t="
- 枚举类型的单例模式
zhb8015
单例模式
E.编写一个包含单个元素的枚举类型[极推荐]。代码如下:
public enum MaYun {himself; //定义一个枚举的元素,就代表MaYun的一个实例private String anotherField;MaYun() {//MaYun诞生要做的事情//这个方法也可以去掉。将构造时候需要做的事情放在instance赋值的时候:/** himself = MaYun() {*
- Kafka+Storm+HDFS
ssydxa219
storm
cd /myhome/usr/stormbin/storm nimbus &bin/storm supervisor &bin/storm ui &Kafka+Storm+HDFS整合实践kafka_2.9.2-0.8.1.1.tgzapache-storm-0.9.2-incubating.tar.gzKafka安装配置我们使用3台机器搭建Kafk
- Java获取本地服务器的IP
中华好儿孙
javaWeb获取服务器ip地址
System.out.println("getRequestURL:"+request.getRequestURL());
System.out.println("getLocalAddr:"+request.getLocalAddr());
System.out.println("getLocalPort:&quo