![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作之道
文章平均质量分 82
BabyRuiMi
这个作者很懒,什么都没留下…
展开
-
Vue的多页签组件
先直接看组件代码(里面用了一些element-ui的组件,如果你们不用element-ui的话。可以去掉,自己实现)也可以下载Demohttps://download.csdn.net/download/rui1120119095/14155951<template> <div class="__common-layout-pageTabs"> <el-scrollbar> <div class="__tabs"> ...原创 2021-01-14 09:23:01 · 1532 阅读 · 0 评论 -
关于“锁”的问题,项目比较大的情况下不能直接随便的加乐观锁,不想麻烦改数据库,不想用lock排队等
private static Dictionary<int, object> lockObj = new Dictionary<int, object>(); private object getObj(int bedId) { object o = null; bool haveVal...原创 2018-09-21 14:49:33 · 237 阅读 · 0 评论 -
设置事务超时时间,事务隔离级别
public int GetTransactionTimeout(out string msg) { msg = string.Empty; try { //数据库中取 var model = GetModel("0003");...原创 2018-09-21 14:57:29 · 2948 阅读 · 0 评论 -
Session 20 分钟过期,设置更长一些
/// <summary> ///将用户的所有信息保存入会话Session中 /// </summary> /// <returns></returns> public static void SetLogin(Se_LoginAccount acc, HttpS...原创 2018-09-21 15:17:54 · 766 阅读 · 0 评论 -
mvc 简单实现一个账号只能在一个地方登录
1.在mvc项目中找到 Global.asax//保证同一次会话的SessionID 不变 protected void Session_Start(object sender, EventArgs e) { } protected void Session_End(object sender, EventArgs e) {...原创 2018-11-05 17:00:10 · 600 阅读 · 0 评论 -
对文件夹加密工具免费
连接:链接:https://pan.baidu.com/s/1gf7_oTkWCp2BTP-hI6G3Fg提取码:ogmf原创 2019-04-30 16:52:21 · 464 阅读 · 4 评论