会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天生自然
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
上一页
1
···
23
24
25
26
27
28
29
30
31
···
276
下一页
2022年3月13日
Could not resolve dependency: npm ERR! peer vue@"^3.0.2" from vuex@4.0.2
摘要: 报错的原因:安装的版本过高的原因造成的 解决方法: 1、可以npm view vuex versions --json查版本,找适合的版本(不要最新的) 2、npm install vuex@3.6.2 --save根据版本下载,这样就可以了!
阅读全文
posted @ 2022-03-13 12:26 吴裕雄
阅读(2712)
评论(0)
推荐(0)
解决:npm\vue.ps1,因为在此系统上禁止运行脚本
摘要: 运行powershell(管理员身份) 执行set-ExecutionPolicy RemoteSigned 选择Y
阅读全文
posted @ 2022-03-13 08:03 吴裕雄
阅读(192)
评论(0)
推荐(0)
用户注册登录关键代码
摘要: package com.ch.cardmis.service; import com.ch.cardmis.entity.UserEntity; import com.ch.cardmis.repository.UserRepository; import org.springframework.b
阅读全文
posted @ 2022-03-13 07:28 吴裕雄
阅读(219)
评论(0)
推荐(0)
判断用户是否登录关键代码
摘要: @Override public String isLogin(HttpSession session) { Object user = session.getAttribute("user"); if(user == null){ return "noLogin"; } return "yes";
阅读全文
posted @ 2022-03-13 07:21 吴裕雄
阅读(97)
评论(0)
推荐(0)
解决跨域请求关键代码
摘要: package com.tszr.cardmis.filter; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; impo
阅读全文
posted @ 2022-03-13 07:11 吴裕雄
阅读(102)
评论(0)
推荐(0)
2022年3月11日
管理员登录处理类关键代码
摘要: package com.tszr.eBusiness.service.admin.Impl; import com.tszr.eBusiness.entity.AUser; import com.tszr.eBusiness.repository.admin.AdminRepository; imp
阅读全文
posted @ 2022-03-11 17:06 吴裕雄
阅读(112)
评论(0)
推荐(0)
文件重命名和获取用户关键代码
摘要: package com.tszr.eBusiness.util; import com.tszr.eBusiness.entity.BUser; import javax.servlet.http.HttpSession; import java.text.SimpleDateFormat; imp
阅读全文
posted @ 2022-03-11 16:27 吴裕雄
阅读(93)
评论(0)
推荐(0)
生成md5码关键代码
摘要: package com.tszr.eBusiness.util; import java.security.MessageDigest; public class MD5Util { /*** * MD5加码生成32位md5码 */ public static String string2MD5(S
阅读全文
posted @ 2022-03-11 16:22 吴裕雄
阅读(250)
评论(0)
推荐(0)
md5码
摘要: MD5中的MD代表Message Digest,就是信息摘要的意思,不过这个信息摘要不是信息内容的缩写,而是根据公开的MD5算法对原信息进行数学变换后得到的一个128位(bit)的特征码。 这个特征码有如下特性,首先它不可逆,例如我有一段秘密的文字如:"My Secret Words",经算法变换后
阅读全文
posted @ 2022-03-11 16:15 吴裕雄
阅读(735)
评论(0)
推荐(0)
统一异常处理类关键代码
摘要: package com.tszr.eBusiness; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springfra
阅读全文
posted @ 2022-03-11 16:06 吴裕雄
阅读(34)
评论(0)
推荐(0)
上一页
1
···
23
24
25
26
27
28
29
30
31
···
276
下一页