08 2021 档案

摘要:/// <summary> /// decimal 转换中文大写 /// </summary> /// <param name="val"></param> /// <returns></returns> public static string ToRMB(this decimal val) { 阅读全文
posted @ 2021-08-26 16:53 87de海雷 阅读(90) 评论(0) 推荐(0) 编辑
摘要:public static string ToUrlParams(this object obj) { return string.Join("&", obj.GetType().GetProperties().Where(x => x.GetValue(obj)!= null).Select(x 阅读全文
posted @ 2021-08-26 15:48 87de海雷 阅读(369) 评论(0) 推荐(1) 编辑
摘要:打开 nuget管理器 搜索 PinYinConverterCore 安装 public static class Helper {public static string ToPinYin(this string val, bool first = false) { return string.J 阅读全文
posted @ 2021-08-26 15:18 87de海雷 阅读(670) 评论(0) 推荐(1) 编辑
摘要:public static T MapTo<T>(this object obj) { return new MapperConfiguration(x => x.CreateMap(obj.GetType(), typeof(T))).CreateMapper().Map<T>(obj); } 阅读全文
posted @ 2021-08-26 09:36 87de海雷 阅读(119) 评论(0) 推荐(0) 编辑
摘要:自己写Redis一键安装小工具 下载>>解压>> 安装服务>>卸载服务 源码:下载地址 阅读全文
posted @ 2021-08-11 12:15 87de海雷 阅读(62) 评论(0) 推荐(0) 编辑
摘要:获取 var GetCookies = () => { var n = [] document.cookie.split(';').forEach(o => { var x = o.split('='); n[x[0].trim()] = x[1] }) return n; } //调用 var c 阅读全文
posted @ 2021-08-05 11:29 87de海雷 阅读(21) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="sliderverify"> <div class="bg" :style="`width:${ disX+40 }px;`"></div> <div ref="btn" :class="statusItem[status]"></div> </div> 阅读全文
posted @ 2021-08-04 16:28 87de海雷 阅读(861) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示