自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(42)
  • 资源 (1)
  • 收藏
  • 关注

原创 sqlsugar查询条件组装

【代码】sqlsugar查询条件组装。

2023-03-31 11:23:25 508 1

原创 WPF DataGrid中的ComboBox(DataGridComboBoxColumn)渲染 以及下拉切换事件

WPF DataGrid中的ComboBox(DataGridComboBoxColumn)渲染 以及下拉切换事件。

2022-10-16 23:36:32 2937 2

原创 WTM框架EFCore数据迁移

WTM开发框架初始化

2022-10-05 01:28:12 822

原创 安装5.0.0版本less-loader命令

安装5.0.0版本less-loader cnpm install -save less less-loader@5

2022-03-06 23:05:54 1413

原创 Vue 注册vue-router后页面空白

vue 2的项目安装vue-router使用的版本应该为 3npm i vue-router@3import VueRouter from "vue-router";//引入路由组件import Home from "@/pages/Home"import Search from "@/pages/Search"import Register from "@/pages/Register"import Login from "@/pages/Login"export default

2022-03-05 17:56:39 1187 1

原创 天猫精灵云云对接

厂商云接入天猫精灵记录

2022-02-15 10:56:35 6630 1

原创 LayUI 表格放图片

修改类layui-table-cell 改成高度自适应就可以了.layui-table-cell { height: auto !important; white-space: normal }

2021-05-24 11:44:36 529

原创 安装EMQ

关于安装emq时报错在bin文件下使用Ctrl+右键 打开powershall输入 文本 :.\emqx start从点开始 注意斜杠

2021-05-07 16:21:11 100

原创 .NET微信退款证书 系统找不到指定的位置

微信退款证书 系统找不到指定的位置var path = @"C:\\Users\\fox\Desktop\\15***32881\\202***5_cert\\apiclient_cert.p12"; var password = "15354***881"; X509Certificate2 cert = new X509Certificate2(path, password);文件路径必须为 @“C:\Users\fox\Desktop\15***3

2021-04-13 16:50:09 368

原创 让div始终居于页面底部

<div style="position:fixed;bottom:0;width:100%;height:50px; background-color:aquamarine"> </div>

2021-04-02 15:47:52 1423

原创 Parallel用法

Parallel用法:https://www.cnblogs.com/scmail81/archive/2018/08/22/9521096.html

2021-01-25 11:02:15 1151

原创 LayUI上传视频

前端代码:@{ Layout = null;}<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>Layui</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edg

2021-01-19 11:17:27 2580 2

原创 根据数组对象的某个属性值找到指定的元素与角标

var datas = [ { "name": "商品房", "bianma": "11" }, { "name": "商铺", "bianma": "12" } ]var data= datas.filter(function(item){ return item.bianma == "12"; })console.log(data); // [{name: "商铺", bianma: "12"}]引用

2020-12-25 16:36:32 900

原创 .NET MVC获取微信jssdk

前端var href = window.location.href.split('#')[0]; href = encodeURIComponent(href) href = encodeURIComponent(href)//这个url一定要转码两次 后端解码一次 (杜绝中文参数时获取签名报错) function GetJsApiInfo() { $.ajax({

2020-12-03 16:17:27 177

原创 jquery根据数组中对象的属性值查询该对象所在角标

var subArr = [ { proId:1 brands:[] }, { proId:2 brands:[] }, { proId:3 brands:[] },] var index = subArr .findIndex(function (item) { return item.proId === proid; });

2020-11-20 11:33:35 829

原创 C#编写windows Service监听电脑关机

写入文件时,C盘需要管理员权限 可以修改该txt文件所在文件夹的权限namespace WindowsService1{ public partial class Service1 : ServiceBase { public Service1() { InitializeComponent(); } protected void OnShutdown()///关机事件 { string path=@"C:\shutdownlog.txt"; string

2020-11-13 12:06:22 991

原创 div滚动触底事件

div滚动触底事件 var nScrollHight = 0; //滚动距离总长(注意不是滚动条的长度) var nScrollTop = 0; //滚动到的当前位置 var nDivHight = $("#enterpriseList").height(); $("#enterpriseList").scroll(function () { nScrollHight = $(this)[0

2020-11-02 17:46:33 1181

原创 配置全新windows Server 2012R2服务器

配置全新windows Server 2012R2服务器一、安装IIS二、创建站点(这里演示一个应用池下多个应用程序)1.在磁盘下创建文件夹(例如:www)存放多个应用池2.创建应用池右键网站 添加网站 在弹框中填写网站名称选择物理路径 (事先创建好,例如:IOT)3.添加应用程序右键刚才创建的站点 点击添加应用程序 在弹框中填写别名 (一般填写项目名称)选择物理路径 (事先创建好,例如:IOT>IotManage)把工程文件放入IotManage文件夹4.浏览应用程序

2020-10-13 13:19:42 340

原创 根据城市名称获取天气信息

[Route("api/Weather/weather")] [HttpGet] public Reponse<WeatherRes> weather(string city) { var JsonStr = Get("http://wthrcdn.etouch.cn/weather_mini?city=" + city); var result = JsonConvert.DeserializeO.

2020-10-12 10:53:30 424

原创 微信小程序登录授权弹框

https://www.cnblogs.com/zhangtianle/p/10299502.html

2020-07-10 14:07:41 1649

原创 Json Web Token加密解密

Json Web Token加密解密using System;using System.Collections.Generic;using System.Linq;using System.Security.Cryptography;using System.Text;using System.Threading.Tasks;using Newtonsoft.Json;using Newtonsoft.Json.Linq;namespace SquirrelCommon{ pu

2020-07-09 09:25:01 954

原创 log4net日志

[assembly: log4net.Config.XmlConfigurator(Watch = true)]private static readonly ILog log = LogManager.GetLogger(typeof(HomeController));<configSections> <section name="log4net" typ...

2020-04-21 21:13:01 103

原创 Sqlsugar根据班主任老师姓名或者班主任所带班级里面的学生姓名查询班主任

public List<Teacher> GetTeachers(string TeacherName,string StudentName) { //所有班主任的信息列表 //根据班主任老师姓名或者班主任所带班级里面的学生姓名查询班主任 var list = db.Queryable<T...

2020-04-18 20:35:53 2373

原创 当json转义类型不确定时用dynamic

当json转义类型不确定时用dynamicvar result = json.ToObject<dynamic>();

2020-04-08 20:08:16 260

原创 vs code 编辑vue文件时代码下面有波浪线错误

vs code 编辑vue文件时代码下面有波浪线错误编辑器左上角 文件 > 首选项 > 设置ellint.enable 设置为false

2020-04-08 13:55:43 2800

原创 Redis教程

https://blog.csdn.net/qwer123456u/article/details/78693469

2020-04-06 18:36:30 68

原创 sql server 导出数据库结构到Execl

SELECT 表名 = Case When A.colorder=1 Then D.name Else '' End, 表说明 = Case When A.colorder=1 Then isnull(F.value,'') Else '' End, 字段序号 = A.colorder, 字段名 = A.name, ...

2020-04-01 18:27:27 97

原创 5天玩转C#并行和多线程编程

https://www.cnblogs.com/yunfeifei/p/3993401.html

2020-03-29 18:44:39 82

原创 MVC依赖注入

1.创建三个类库IUserInfoService.cs public interface IUserInfoService { List<UserInfo> GetUserInfo(); }UserInfoService.cs public class UserInfoService: IUserInfoService { ...

2020-03-24 00:19:59 399

原创 Http请求辅助类

/// <summary> /// 创建Http请求辅助类 /// </summary> public partial class HttpUtil { public static string SendRequestGet(string url, string para) { stri...

2020-03-19 18:22:47 163

原创 VUE带参跳转页面

第一个页面//点击按钮执行该事件 gourl(){ this.$router.push({ path: '/demo2-page5', // name: 'mallList', query: { pkid: this.pkid } })第二个页面//页面加载...

2020-01-06 00:02:30 120

原创 D2admin导出Execl

<template> <el-button @click="exportToExcel">导出Excel</el-button> <el-table :data="tableData3" style="width: 100%" id="table-content"> <el-table-column prop=...

2020-01-02 23:46:52 608

原创 vue 按钮文字动态改变

1.事件2.取元素3.函数---------------------- 仔细看 有你想要的!<template> <!-- $event是获取当前元素属性 --> <!-- ref相当于id --> <el-button ref='btn1' @click="getname($event)">你好,我是黄晓明<...

2020-01-02 00:11:13 17669

原创 WebApi跨域问题

1.在webapi项目上面使用Nuget搜索“microsoft.aspnet.webapi.cors,安装。2.在App_Start文件夹下面的WebApiConfig.cs文件夹配置跨域config.EnableCors(new EnableCorsAttribute("*","*","*"));详见:https://www.jianshu.com/p/e651ff50dc80...

2019-12-30 11:52:49 143

原创 配置Swagger

1.添加Nuget包(Swashbuckle.Core 和 Swagger.Net.UI)–> 联机先后搜 Swashbuckle 与Swagger 关键字2.安装好之后回在项目的根目录下生成一个SwaggerUI的文件夹 ,里面是一些css样式和js文件,在 App_Start文件夹下 会添加两个文件 SwaggerConfig.cs 和SwaggerNet.cs 主要的配置在这里...

2019-12-29 19:00:13 183

原创 上传图片(文件流)

using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Web;using System.Drawing;using System.Drawing.Imagin...

2019-10-21 12:00:19 1756

原创 导出导出Execl demo

using NPOI.SS.UserModel;using System;using System.Collections.Generic;using System.IO;using NPOI.HSSF.UserModel;namespace 导出{ class Program { static void Main(string[] args) ...

2019-09-13 15:23:14 72

原创 JSON数据类型与对象类型互转

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Newtonsoft.Json;//要引入这个包哦namespace JsonTest{ class Program { ...

2019-07-10 18:36:07 218

原创 C#打印菱形图案

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 打印菱形图案{ class Program { static void Main(string[] args)...

2019-06-18 16:56:10 948

原创 DbHelper

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;namespace DAL{ public class DbHelper { //连接数据库 ...

2019-03-11 10:59:46 115

2019城乡代码_五级_2020_6_8最新整理.rar

create table Sys_address ( id int primary key,---id name varchar(200),--地址名 parent_id bigint,---父级地址 sort int,--排序 level int,--等级 longcode bigint,--长码 code bigint--短码 )

2020-06-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除