上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页
摘要: 1 安装redis 1.1 下载redis安装包,百度网盘链接如下: 链接:https://pan.baidu.com/s/1GICSmUtyeOPOpDUA4Fi-fw 提取码:eb31 1.2 在linux主机上新建相应的文件夹,把下载到的redis 安装包 传输到 linux 主机上 先在li 阅读全文
posted @ 2021-06-14 11:03 温故纳新 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1 后台控制器 [ValidateAntiForgeryToken] public IActionResult AcceptList([FromForm]string reqId, [FromForm] List<RequestModel> requestModel) { return Json(n 阅读全文
posted @ 2021-06-07 09:21 温故纳新 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 项目总体架构图 IdentityServer: 是一个 OpenID Connect 提供者——它实现了 OpenID Connect 和 OAuth 2.0 协议。 Users: 用户是使用注册客户端访问资源的人。 Clients: 客户端是一个从 IdentityServer 请求令牌的软件—— 阅读全文
posted @ 2021-06-03 16:08 温故纳新 阅读(88) 评论(0) 推荐(0) 编辑
摘要: using System.Collections.Generic; using System.Linq; namespace DailyCoding.Code { public class _20210603_1 { public void Run() { /* * Sort 方法对本集合根据指定的 阅读全文
posted @ 2021-06-03 09:50 温故纳新 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1 接收表单参数 (1)后台代码 [HttpPost] public IActionResult FormParas([FromForm]string para1, [FromForm] string para2) { return Json(new { code = 0, msg = $"接收到的 阅读全文
posted @ 2021-05-30 10:33 温故纳新 阅读(1273) 评论(0) 推荐(0) 编辑
摘要: function ValidatePhone(val){ var isPhone = /^1[34578]\d{9}$/;//手机号码 var isMob= /^0?1[3|4|5|8][0-9]\d{8}$/;// 座机格式 区号之后用'-'隔开 if(isMob.test(val)||isPho 阅读全文
posted @ 2021-05-24 17:02 温故纳新 阅读(338) 评论(0) 推荐(0) 编辑
摘要: -- 字符串替换函数 replaceselect replace('12x*3456x*9','x*','88'); -- 将 12x*3456x*9 中的 x* 替换为 88 -- 字符串截取函数 left 和 rightselect left('123456',2); -- 从左边开始取 2 个 阅读全文
posted @ 2021-05-21 10:08 温故纳新 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 命令格式 git push origin 分支名 --force 实例:使用本地 master 分支覆盖远程分支(即使本地分支处于v1版本,远程分支处于比v1更新的版本) git push origin master --force 阅读全文
posted @ 2021-05-20 21:16 温故纳新 阅读(1304) 评论(0) 推荐(0) 编辑
摘要: using DailyCoding.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DailyCoding.Code { [Clas 阅读全文
posted @ 2021-05-15 16:40 温故纳新 阅读(697) 评论(0) 推荐(0) 编辑
摘要: // Task 集合 var taskList = new List<Task>(); // 待分页的List集合 var pageList = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; // 每页数量 var pageSize = 3; // 阅读全文
posted @ 2021-05-15 15:52 温故纳新 阅读(1109) 评论(0) 推荐(1) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页