上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页
摘要: 一、转盘活动抽奖算法记录。 1. 首先抽奖的概率如下: 概率:0.51858 0.3 0.15 0.02 0.01 0.001 0.0004 0.00002 2. 抽奖的抽奖代码: /// <summary> /// 概率抽奖 /// </summary> /// <returns>返回奖品ID</ 阅读全文
posted @ 2020-08-29 15:24 锦大大的博客呀! 阅读(838) 评论(0) 推荐(0) 编辑
摘要: 直接上代码吧: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta charset="utf-8" /> <meta name="viewp 阅读全文
posted @ 2020-08-24 19:51 锦大大的博客呀! 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 一、SqlSugar简单使用封装 1. 封装读取数据库的方法: public static SqlSugarClient GetInstance() { //SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { Connect 阅读全文
posted @ 2020-08-17 09:49 锦大大的博客呀! 阅读(2846) 评论(0) 推荐(1) 编辑
该文被密码保护。 阅读全文
posted @ 2020-08-17 09:13 锦大大的博客呀! 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-08-12 10:55 锦大大的博客呀! 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 一、QRCode.js介绍: QRCode.js 是一个用于生成二维码的 JavaScript 库。主要是通过获取 DOM 的标签,再通过 HTML5 Canvas 绘制而成 二、实例代码如下:下面是我项目中用到的一个demo实例 @model LeaRun.Entity.Channels.QrCo 阅读全文
posted @ 2020-08-03 15:08 锦大大的博客呀! 阅读(1009) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-07-26 22:38 锦大大的博客呀! 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-07-21 14:39 锦大大的博客呀! 阅读(7) 评论(0) 推荐(0) 编辑
摘要: .NET CORE 中间件 一、中间件分为三种: //所有中间件就是委托 这是第一种形式的 app.Use(async (context, next) => { await context.Response.WriteAsync("one"); await next(); //放行 await co 阅读全文
posted @ 2020-05-24 22:59 锦大大的博客呀! 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 一、常用问题总结 1. 解决祖传的where 1=1 List<string> _listWhere = new List<string> { "a=b", "b=c", "b=c" }; string str1= _listWhere.Count > 0 ? $"where { string.Jo 阅读全文
posted @ 2020-05-22 10:46 锦大大的博客呀! 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页