摘要: -- 1.去除指定列的重复值 SELECT DISTINCT sort FROM eb_store_product -- 2.where in指定特定列 SELECT * FROM eb_store_product WHERE sort IN (0, 1) -- 3.ORDER BY多列降序 用逗号 阅读全文
posted @ 2020-10-16 17:50 谢凌 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 概述JSON Web Token(缩写 JWT)是目前最流行的跨域认证解决方案, JWT 的原理是,服务器认证以后,生成一个 JSON 对象,发回给用户以后,用户与服务端通信的时候,都要发回这个 JSON 对象。服务器完全只靠这个对象认定用户身份。为了防止用户篡改数据,服务器在生成这个对象的时候,会 阅读全文
posted @ 2020-10-16 15:19 谢凌 阅读(121) 评论(0) 推荐(0) 编辑
摘要: json没有length属性,获取json长度的方法 function getJsonLength(jsonData){ var jsonLength = 0; for(var item in jsonData){ jsonLength++; } return jsonLength; } 阅读全文
posted @ 2020-10-16 13:44 谢凌 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 自己拼接的字符串中调用了方法时,传字符串参数时,就要带 ''\ 和 '\' 不然参数接收不到 '<a href="javascript:void(0)" onclick="deleteModule(\''+row.moduleID+'\',\''+row.moduleFilePathList+'\' 阅读全文
posted @ 2020-10-16 11:21 谢凌 阅读(1607) 评论(0) 推荐(0) 编辑
摘要: 有个apns_production 参数 需要手动设置为true才行 try { $this->client->push() ->setPlatform(['android','ios']) ->options(['apns_production'=>true])//苹果生产环境 ->addRegi 阅读全文
posted @ 2020-10-16 11:19 谢凌 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 在标签的style里面加上 resize:none; 阅读全文
posted @ 2020-10-16 10:35 谢凌 阅读(320) 评论(0) 推荐(0) 编辑
摘要: input失去焦点,页面被顶起没有还原,所以就有以下的方法来处理 $("input").blur(function(){ setTimeout(() => { const scrollHeight = document.documentElement.scrollTop || document.bo 阅读全文
posted @ 2020-10-16 10:33 谢凌 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 用notepad++编辑器把__wuBaseWxss_批量修改类型为*.wxss*的mituskyWxss即可,切记__wuBaseWxss__文件也要改成mituskyWxss! 3 文件替换 阅读全文
posted @ 2020-10-16 10:29 谢凌 阅读(1067) 评论(0) 推荐(0) 编辑
摘要: 1 document.querySelector('body').addEventListener('touchmove', function(e) { 2 if (!document.querySelector('ul').contains(e.target)) { 3 e.preventDefa 阅读全文
posted @ 2020-10-16 09:57 谢凌 阅读(265) 评论(0) 推荐(0) 编辑
摘要: style="border-collapse:collapse;" 增加此项就可以了 阅读全文
posted @ 2020-10-16 09:44 谢凌 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 解决办法:开启svn服务VisualSVN Server 就可以啦 阅读全文
posted @ 2020-10-16 09:38 谢凌 阅读(2953) 评论(0) 推荐(0) 编辑
摘要: 1 <td ><input type="text" name="price" value="${storeProdute.retail_price }" id="price" size="5" style="text-align: right;" 2 οnkeyup="checkNum(this)" 阅读全文
posted @ 2020-10-16 09:31 谢凌 阅读(257) 评论(0) 推荐(0) 编辑
摘要: JS 中判断 undefined var exp = undefined; if (typeof(exp) == "undefined") { alert("undefined"); } JS 中判断 null var exp = null; if (!exp && typeof(exp)!=”un 阅读全文
posted @ 2020-10-16 09:28 谢凌 阅读(732) 评论(0) 推荐(0) 编辑