10 2018 档案
摘要:array_unshift call_user_func_array闭包下面是学院的代码 class Container { protected $binds; protected $instances; public function bind($abstract, $concrete) { if ($concrete instanceof ...
阅读全文
摘要:看代码,原厂代码写的比较清楚,版本(laravel5.7) 简单使用,方便调试,详细使用需要详细查看文档。 在config/app.php 添加 'log' => env('APP_LOG', 'single'),到合适位置
阅读全文
摘要:概念请自己查 在全局帮助函数库Illuminate\Foundation\helpers.php中有以下几个函数定义,在看过前两个函数实现可以在使用中多少有点帮助。 其他请查看
阅读全文
摘要:关于如何使用,请看laravel学院,不再重复
阅读全文
摘要:Laravel5.4 简单实现app接口 Api Token认证
阅读全文
摘要:环境:jdk1.7+eclipse luna 选择:Run ->Run Configurations, 在弹出框右侧中选择Arguments, 在VM arguments最后加入 点击Apply即可生效。
阅读全文
摘要:config1: config2: config3:
阅读全文
摘要:官方网站,中文文档,demo, 参考零, 参考一, 参考二 , 参考三 , 参考四 , 参考五 ,文档下载 .
阅读全文
摘要:作用:设置JVM系统属性 -Dkey=value 官方给出的解释: Set a system property value. If value is a string that contains spaces, you must enclose the string in double quotes
阅读全文
摘要:关于%~ 其中的I可以取值0~9 执行: 在执行结果中可以看到,“仅将 %I 扩展到一个...”,指的是我们通过%I得到一个新的值,% I的值本身不会改变。 关于FOR
阅读全文
摘要:sublime乱码,GBK乱码,安装插件ConvertToUTF8 下载ConvertToUTF8,解压,文件夹命名为ConvertToUTF8 sublime->Preferences->browse package...->打开此目录 把下载的插件放在次目录中
阅读全文
摘要:实验环境:windows10(1607)、mysql5.7.16 (for windows zip) 主库(端口3306)配置文件: 从库(端口3307)配置文件: 安装这个版本的mysql,密码在配置文件指定的data目录中的err日志文件中有打印,打开err结尾的文件,搜索关键字password
阅读全文