08 2021 档案
摘要:/// <summary> /// decimal 转换中文大写 /// </summary> /// <param name="val"></param> /// <returns></returns> public static string ToRMB(this decimal val) {
阅读全文
摘要:public static string ToUrlParams(this object obj) { return string.Join("&", obj.GetType().GetProperties().Where(x => x.GetValue(obj)!= null).Select(x
阅读全文
摘要:打开 nuget管理器 搜索 PinYinConverterCore 安装 public static class Helper {public static string ToPinYin(this string val, bool first = false) { return string.J
阅读全文
摘要:public static T MapTo<T>(this object obj) { return new MapperConfiguration(x => x.CreateMap(obj.GetType(), typeof(T))).CreateMapper().Map<T>(obj); }
阅读全文
摘要:自己写Redis一键安装小工具 下载>>解压>> 安装服务>>卸载服务 源码:下载地址
阅读全文
摘要:获取 var GetCookies = () => { var n = [] document.cookie.split(';').forEach(o => { var x = o.split('='); n[x[0].trim()] = x[1] }) return n; } //调用 var c
阅读全文
摘要:<template> <div class="sliderverify"> <div class="bg" :style="`width:${ disX+40 }px;`"></div> <div ref="btn" :class="statusItem[status]"></div> </div>
阅读全文