会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SimonHu1993
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
24
下一页
2020年7月21日
Nginx进行反向代理多个web项目
摘要: 反向代理: 客户端(浏览器)不直接访问目标服务器,而是通过代理服务器进行访问, 可以不暴露目标服务器实际IP。 出现nginx css,js静态资源无法访问,nginx 404相关都可以参考以下配置 主要修改nginx.conf文件 这里我们先启动两个服务: web1: 8001/; src(项目目
阅读全文
posted @ 2020-07-21 12:20 748573200000
阅读(7459)
评论(0)
推荐(2)
2020年7月16日
CountDownLatch使用
摘要: package com.simonjia.web.index.service; import com.simonjia.web.index.InsertThread; import java.util.concurrent.CountDownLatch; /** * @Author: SimonHu
阅读全文
posted @ 2020-07-16 12:11 748573200000
阅读(144)
评论(0)
推荐(0)
2020年7月15日
人人开源后台管理框架优化
摘要: SpringbootShiroDemo 管理后台基于人人开源框架(人人开源:https://www.renren.io )进行修改》 很值得推荐的权限基础框架(无业务耦合),针对原有框架进行优化,后期业务再此进行拓展即可。 技术栈: 前端:Vue2.x,Layui,Ztree,TreeTable,J
阅读全文
posted @ 2020-07-15 20:56 748573200000
阅读(1486)
评论(0)
推荐(0)
Springboot @Cacheable缓存过期时间
摘要: 参考: SpringBoot 2.X @Cacheable,redis-cache 如何根据key设置缓存时间? github源码地址:https://github.com/SimonHu1993/SpringbootShiroDemo @Cacheable(value = "Menus", unl
阅读全文
posted @ 2020-07-15 13:44 748573200000
阅读(18913)
评论(0)
推荐(0)
SpringBoot Shiro并发登录人数控制
摘要: 只允许用户指定n个地点登录,超过的被移除下线。参考:https://blog.csdn.net/qq_34021712/article/details/80457041源码:https://github.com/Clever-Wang/spring-boot-examples因为KickoutSes
阅读全文
posted @ 2020-07-15 12:30 748573200000
阅读(775)
评论(0)
推荐(0)
2020年6月10日
shiro登录后修改资料动态修改个人登录信息
摘要: shiro登录后修改资料动态修改个人登录信息 [code=java] /** * 切换身份,登录后,动态更改subject的用户属性 * @param userInfo */ public static void setUser(UserInfo userInfo) { Subject subjec
阅读全文
posted @ 2020-06-10 09:20 748573200000
阅读(1058)
评论(1)
推荐(1)
2020年6月8日
springboot使用freemarker shiro标签
摘要: <!-- freemarker + shiro(标签) begin --> <dependency> <groupId>net.mingsoft</groupId> <artifactId>shiro-freemarker-tags</artifactId> <version>1.0.0</vers
阅读全文
posted @ 2020-06-08 17:10 748573200000
阅读(475)
评论(0)
推荐(0)
2020年6月2日
java.lang.ClassFormatError
摘要: org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.ClassFormatError: com/zhx/base/utils/Exc
阅读全文
posted @ 2020-06-02 15:44 748573200000
阅读(1284)
评论(0)
推荐(0)
2020年5月28日
input上传文件再次选择同一文件失败
摘要: input上传文件时,如遇到后台返回错误提示,没有将上传文件内容入库, 需要根据提示修改原文件之后再次提交,会出现: VM867:1 Uncaught SyntaxError: Unexpected token ')' at Object.success (eval at <anonymous> (
阅读全文
posted @ 2020-05-28 13:54 748573200000
阅读(1427)
评论(0)
推荐(0)
2020年5月21日
java lambda简化集合操作(分组,排序)
摘要: 有一组数据,需要根据tag便签分组,分组后的tag再根据日期进行分组; 显示样式: 数据库查询出源数据: final static String lists = "[ {\n" + " \"goodsImg\" : \"http://www.baidu.com:8081/appimages/acti
阅读全文
posted @ 2020-05-21 09:15 748573200000
阅读(2558)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
24
下一页
公告