上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 94 下一页
摘要: let str = 'abcdef'; // 0 str = str.slice(0);//返回整个字符串 abcdef str = str.substring(0);//返回整个字符串 abcdef str = str.substr(0);//返回整个字符串 abcdef // 使用一个参数 st 阅读全文
posted @ 2019-10-31 15:01 牛奔 阅读(51356) 评论(0) 推荐(2)
摘要: 前导 本篇文字作为?《「新轮子」PHP CORS (Cross-origin resource sharing),解决 PHP 项目程序设置跨域需求。》的续篇。 简介 什么是 medz/cors?这个中间件的全名叫做 「PHP CORS Middleware」,专门用来处理基于 PHP 程序的 CO 阅读全文
posted @ 2019-10-30 16:52 牛奔 阅读(700) 评论(0) 推荐(0)
摘要: 安装 composer require youngyezi/captcha 使用 新版的包已经删除了 session 支持,完全交给业务自由选择存储方式 个人觉得这样更方便来解耦业务,尤其 Lumen 大多时候用来做 Api 开发,并不需要开启 Session 服务 注册服务 bootstrap\a 阅读全文
posted @ 2019-10-30 15:34 牛奔 阅读(1307) 评论(0) 推荐(0)
摘要: <template slot-scope="scope"> <el-button @click="upper_score(scope.$index, scope.row)" type="text">待上分</el-button></template> 阅读全文
posted @ 2019-10-29 15:05 牛奔 阅读(917) 评论(0) 推荐(0)
摘要: 第一步 先在本地环境中的Apache中找到httpd-vhosts.conf文件 然后在httpd-vhosts.conf中先把ServerName 修改为本地IP,然后把Deny from all 用#注释掉 第二步 在C:\Windows\System32\drivers\etc 找到hosts 阅读全文
posted @ 2019-10-28 14:26 牛奔 阅读(573) 评论(0) 推荐(0)
摘要: 时间选择器在选择的时候,同时配置了另一个时间选择器内的参数 阅读全文
posted @ 2019-10-23 16:42 牛奔 阅读(1437) 评论(0) 推荐(0)
摘要: # 前言 `nginx` 配置访问 `ip` 需要修改 `nginx.conf` 文件,只需要在 `server` 中添加 `allow` 跟 `deny` 的 `ip` 即可,如下: ```bash upstream novel { server 127.0.0.1:8080; } server 阅读全文
posted @ 2019-10-16 19:03 牛奔 阅读(8030) 评论(1) 推荐(0)
摘要: 同事代码新增加了功能,推到服务器上,意外导致登录失败,回退到之前的版本上,可以正常使用。 这次只上传了 route.php 文件,系统登录失败。 随后使用kdiff3对比了两版本的route.php文件,发现本地的route.php文件是带bom头的utf-8 之后使用 phpstorm批量转换文件 阅读全文
posted @ 2019-10-11 14:35 牛奔 阅读(393) 评论(0) 推荐(0)
摘要: 第一种情况: 传递给 UrlGenerator 的第二个参数是 Request 实例 你传进去的是null, 可以检查 config文件夹下的配置文件是否有用到 url() 函数的,如果有,将 url() 部分改为 Config('app.url') 第二种情况: config/admin.php 阅读全文
posted @ 2019-09-23 15:35 牛奔 阅读(2675) 评论(0) 推荐(0)
摘要: curl介绍 curl是一个开源的网络链接库,支持http, https, ftp, gopher, telnet, dict, file, and ldap 协议。之前均益介绍了python版本的pycurl http://junyiseo.com/python/607.html ,现在介绍怎么使 阅读全文
posted @ 2019-09-20 17:19 牛奔 阅读(47952) 评论(0) 推荐(1)
上一页 1 ··· 67 68 69 70 71 72 73 74 75 ··· 94 下一页