..
摘要: SpringBoot 版本2.1.1 通过https://start.spring.io 导出的工程骨架,默认有单元测试类直接添加测试方法即可,自所以有这个笔记是因为,1.本笨蛋今天第一次用SpringBoot,而且想在以后使用便利的Junit测试工具进行日常代码的自测,不想一次次通过打包进行测试( 阅读全文
posted @ 2018-12-09 21:28 罗浩楠 阅读(372) 评论(1) 推荐(0)
摘要: 请看原文: 草席两个页面: 阅读全文
posted @ 2018-11-15 16:06 罗浩楠 阅读(338) 评论(0) 推荐(0)
摘要: //StringObject.replace(/regexp/,newContent); //1当newContent为新字符串,就直接用newContent对匹配的内容进行替换。 //2当newContent为函数的时候,就用函数返回的返回值对匹配的内容替换。 //3当不知到newContent为函数时候,传入的参数是啥,就用arguments.length,或打印arguments进行查看。... 阅读全文
posted @ 2018-11-15 15:57 罗浩楠 阅读(127) 评论(0) 推荐(0)
摘要: thatObject.functionName.call(thisObject,functionParams); call用在一个对象想使用另外种类的对象的方法,的时候,把想好事的对象(thisObject)的this绑定到吃亏的对象(thatObject)的函数上面。 document.query 阅读全文
posted @ 2018-11-15 15:37 罗浩楠 阅读(145) 评论(0) 推荐(0)
摘要: 属性描述符是对JavaScript属性的描述,包括:value、writable、enumerable、configurable,除value其他默认为true。 本文包括: 取得属性描述符、 Object.getOwnPropertyDescriptor( obj, "property-name" 阅读全文
posted @ 2018-11-15 10:10 罗浩楠 阅读(869) 评论(0) 推荐(0)
摘要: fastcgi | try_files 阅读全文
posted @ 2018-11-02 16:21 罗浩楠 阅读(121) 评论(0) 推荐(0)
摘要: 执行原理 | 运行模式 阅读全文
posted @ 2018-11-02 16:19 罗浩楠 阅读(126) 评论(0) 推荐(0)
摘要: Laravel 的部署 D 参考laravel-china的做 | 其他参考 | 重要的参考 | Nginx github | 如果想要ssl 啊 阅读全文
posted @ 2018-11-02 15:49 罗浩楠 阅读(214) 评论(0) 推荐(0)
摘要: array_unshift call_user_func_array闭包下面是学院的代码 class Container { protected $binds; protected $instances; public function bind($abstract, $concrete) { if ($concrete instanceof ... 阅读全文
posted @ 2018-10-29 09:32 罗浩楠 阅读(161) 评论(0) 推荐(0)
摘要: 看代码,原厂代码写的比较清楚,版本(laravel5.7) 简单使用,方便调试,详细使用需要详细查看文档。 在config/app.php 添加 'log' => env('APP_LOG', 'single'),到合适位置 阅读全文
posted @ 2018-10-27 20:46 罗浩楠 阅读(238) 评论(0) 推荐(0)
..