上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: <?php namespace zyf; class Api { /** * @param $postcom //快递公司编码 * @param $getNu //快递单号 * @return mixed * @author: zyf <1322816443@qq.com> * @date: 202 阅读全文
posted @ 2020-07-04 16:31 Cyber_nnno 阅读(493) 评论(0) 推荐(0)
摘要: # Check if a file exists, or route it to index.php. try_files $uri $uri/ /exploit/index.php?$query_string; if (!-e $request_filename) { rewrite ^(.*)$ 阅读全文
posted @ 2020-07-02 09:38 Cyber_nnno 阅读(370) 评论(0) 推荐(0)
摘要: jquery $('body').scrollTop($('body')[0].scrollHeight); //把body换掉即可 js //滚动条在Y轴上的滚动距离 function getScrollTop(){ var scrollTop = 0, bodyScrollTop = 0, do 阅读全文
posted @ 2020-07-01 15:09 Cyber_nnno 阅读(1431) 评论(0) 推荐(0)
摘要: json转数组 首先必须定义 var data = {}; 不是 var data = new Array(); 然后 var data = {}; JSON.stringify(data) 数组转json var data = {a : 1,b : 2}; JSON.parse(data); 阅读全文
posted @ 2020-06-27 10:55 Cyber_nnno 阅读(8101) 评论(0) 推荐(0)
摘要: 基本的添加事件,把#select替换即可 $(document).on('click', '#select', function (e) { let that =this; $("#select").show(); }); ajax封装,因为是用的laravl,headers一般可不写 functi 阅读全文
posted @ 2020-06-22 09:57 Cyber_nnno 阅读(585) 评论(0) 推荐(0)
摘要: 以下为个人见解 1、larval安全性高,基本上每个路径都要配置路由,这样不熟悉这个项目的人看起来可能要很频繁的看路由配置,不过导航栏的链接看起来很优雅、大气 而tp也可以设置路由,但个人感觉没有larval方便,因为laravl有优先级路由,就跟父子层一样,通过了登录父层才能进行下面的子层。 但是 阅读全文
posted @ 2020-06-18 10:30 Cyber_nnno 阅读(2067) 评论(0) 推荐(0)
摘要: /*QQ登录*/ public function token(){ $app_id = "***"; //替换即可 $app_secret = "***"; //替换即可 //成功授权后的回调地址 $my_url = urlencode("http://***.com/index/User/toke 阅读全文
posted @ 2020-05-12 18:30 Cyber_nnno 阅读(531) 评论(0) 推荐(0)
摘要: 修改 ueditor --> php --> Upload.class.php --> __construct()方法 $this->stateMap['ERROR_TYPE_NOT_ALLOWED'] = mb_convert_encoding($this->stateMap['ERROR_TYP 阅读全文
posted @ 2020-05-12 18:25 Cyber_nnno 阅读(1681) 评论(0) 推荐(0)
摘要: JS声明方法 /**生日下拉框*把sel_year、sel_month、sel_day修改即可*/ var birthday1 = { date_picker: function(options){ var defaults = { YearSelector: "#sel_year", MonthS 阅读全文
posted @ 2020-05-12 18:21 Cyber_nnno 阅读(2564) 评论(0) 推荐(0)
摘要: 插件合集 点击跳转 html <span class="posrelative scbox"> <img class="middle mr5" src="__INDEX__/images/sc_03.png"/>上传视频(按ctrl多选) <input class="upvideo" type="f 阅读全文
posted @ 2020-05-11 09:44 Cyber_nnno 阅读(1345) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页