摘要: MD5加密字符串 using System.Security.Cryptography; static string md5(string str, int code) { if (code == 16) //16位MD5加密(取32位加密的9~25字符) { return System.Web.S 阅读全文
posted @ 2021-11-02 09:46 LoveMe7788 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 发现filterContext.HttpContext.Request.IsAjaxRequest()总是返回false 前端使用axios.post() 时,返回false. 前端使用$.ajax() 时,返回true. 阅读全文
posted @ 2021-11-02 09:43 LoveMe7788 阅读(299) 评论(0) 推荐(0) 编辑