摘要:
/// /// 申请提现 /// /// 用户id /// 提现金额 /// public int ApplyTakeCash(int userId, decimal amount) { if(IsExistUser(userId)) r... 阅读全文
摘要:
控制器controller中使用过滤器: 阅读全文
摘要:
Http async / await 方式请求实例: 使用Task.Run(()=>{})方式执行 阅读全文
摘要:
using Lemon.Common; using Lemon.WeChat.Model; using Lemon.WeChat.Services; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Senparc.Weixin.MP; using System; using System.Collections.Generic; ... 阅读全文
摘要:
1.使用HttpClient 测试上传文件并且设置header信息: 阅读全文
摘要:
1.在数据库中创建一个自定义函数: 2.创建EF的数据库上下文: 引用 EntityFramework.Functions程序集 3.调用方式: 上面步骤已经使用EF调用数据库的函数了。 4.详细介绍EF怎样调用数据库中的存储过程与函数文档说明: https://weblogs.asp.net/di 阅读全文
摘要:
一:下载log4net的程序集 下载地址: http://logging.apache.org/log4net/ 使用情况: 二、配置文件设置 Config配置文件log4net.xml <?xml version="1.0" encoding="utf-8" ?> <configuration> 阅读全文
摘要:
//EF多重排序 context.Serials .Where(s => ("," + s.VideoGenreIds + ",").Contains("," + genreIds + ",") && s.IsEnable && !s.IsDel) .OrderByDescending(v => v 阅读全文
摘要:
如何将数据库中的表导入到PowerDesigner中 1、 打开PowerDesigner12,在菜单中按照如下方式进行操作file->Reverse Engineer->DataBase 点击后,弹出 New Physical Data Model 的对话框,如下图: 2、 在General选项卡 阅读全文
摘要:
在网站开发中,如果有发布类似新闻的图文混排需求时,CKEditor不失为一个很好的选择,下载地址如下:http://ckeditor.com/download它的前身是FCKEditor,随着它的更新,上传图片的功能被分离出去了,现在如果需要实现上传图片,要么自己写代码,还有一种方法是使用CKFin... 阅读全文