摘要: 1、封装成一个独立JS var commonUrl = 'http://xx.xxx.com/'; function http({ url, type = "post", dataType = "json", data = {}, success }) { $.ajax({ url: commonU 阅读全文
posted @ 2020-06-15 16:28 netlock 阅读(221) 评论(0) 推荐(0) 编辑
摘要: sql server中的varchar和Nvarchar有什么区别? 答:varchar(n)长度为 n 个字节的可变长度且非 Unicode 的字符数据。n 必须是一个介于 1 和 8,000 之间的数值。存储大小为输入数据的字节的实际长度,而不是 n 个字节。nvarchar(n)包含 n 个字 阅读全文
posted @ 2020-06-15 16:12 netlock 阅读(816) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 创建登陆Token /// </summary> /// <param name="length"></param> /// <returns></returns> public static string CreateToken(int length) { // 阅读全文
posted @ 2020-06-15 14:39 netlock 阅读(821) 评论(0) 推荐(0) 编辑