会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
护花使者
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
22
23
24
25
26
27
28
29
30
···
32
下一页
2019年2月18日
npm的源改成淘宝镜像
修改源地址为淘宝 NPM 镜像npm config set registry http://registry.npm.taobao.org/ 修改源地址为官方源npm config set registry https://registry.npmjs.org/
Read More
posted @ 2019-02-18 10:33 护花使者
Views(209)
Comments(0)
Diggs(0)
2019年2月15日
springboot注入properties配置到javabean
一、再application.properties中添加 二、
Read More
posted @ 2019-02-15 11:40 护花使者
Views(833)
Comments(0)
Diggs(0)
2019年2月14日
es基本修改相关的
一、修改mapping POST linewell_assets_mgt_es/lw_devices/_mapping { "lw_devices": { "properties": { "audit_state": { "type": "long" } } } }
Read More
posted @ 2019-02-14 11:31 护花使者
Views(145)
Comments(0)
Diggs(0)
es基本查询相关的
一、获取索引的mapping GET linewell_assets_mgt_es/lw_devices/_mapping
Read More
posted @ 2019-02-14 11:20 护花使者
Views(138)
Comments(0)
Diggs(0)
springboot 整合swagger-ui
一、添加maven依赖 二、添加swagger配置类 三、springboot添加注解 四、一个测试用例 一个注册的controller上面添加以上配置就可以了 swagger页面的访问路径 ip:port/swagger-ui.html 里面的要填的参数,上面配置的name会自动映射到contro
Read More
posted @ 2019-02-14 09:37 护花使者
Views(589)
Comments(0)
Diggs(0)
2019年2月13日
springboot的filter使用
其中@Order表示优先级 @WebFilter必须有,urlPatterns可以跟多个pattern 然后再加上注解@ServletComponentScan
Read More
posted @ 2019-02-13 14:13 护花使者
Views(227)
Comments(0)
Diggs(0)
navicat新建用户,并赋予权限
一、新建用户 二、设置主机和密码 主机%的意思是允许用户本地登入和远程登入。 三、选择表或者视图 右键,选择设置权限 四、 选择添加权限。 五、 选择用户以及Select 和 Show View 对于其他视图或者表,重复以上操作。 六、 用新建的用户登入 查看是否有查看视图的权限 如果最后能看到表或
Read More
posted @ 2019-02-13 09:45 护花使者
Views(7316)
Comments(0)
Diggs(0)
2019年2月12日
/ 和/* 和/**的区别
一、亲测 /和/*区别 在springboot中建了一个过滤器,测试 当请求为/user/login的时候可以被拦截,当为/page/login.html页面的时候不拦截 当请求为/user/login的时候可以被拦截,当为/page/login.html页面的时候也会被拦截 所以综上,/不会拦截页
Read More
posted @ 2019-02-12 21:39 护花使者
Views(20945)
Comments(0)
Diggs(6)
2019年2月11日
idea+maven+springboot+mybatis+springmvc+shiro
springboot就是把创建项目简单化,省去了以往的配置mybatis、springmvc的繁琐过程。 搭建web应用三个主要功能,请求和响应,数据库交互,权限配置。 一、idea创建项目 (1) spring initializr (2)填写项目的名称 (3)选择相关的特性 选择项目存放的路径,
Read More
posted @ 2019-02-11 11:20 护花使者
Views(1908)
Comments(0)
Diggs(0)
2019年1月28日
shiro默认过滤器
Read More
posted @ 2019-01-28 17:37 护花使者
Views(190)
Comments(0)
Diggs(0)
上一页
1
···
22
23
24
25
26
27
28
29
30
···
32
下一页
公告