12 2016 档案

摘要:$data=$this->user->get(); //is obj $data=(string)$data; //is string $data=$data->toArray(); //is array $data=$data->toJson(); //is string(json) //数据强制 阅读全文
posted @ 2016-12-11 19:15 Docter 阅读(1024) 评论(0) 推荐(0)
摘要:1.定义工厂函数$factory->define(App\Test(model类名)::class, function (Faker\Generator $faker) { return [ 'name' => $faker->name, 'email' => $faker->email, 'pas 阅读全文
posted @ 2016-12-10 21:32 Docter 阅读(145) 评论(0) 推荐(0)
摘要:1.Intervention\Image\ImageServiceProvider::class //provider配置 2.'Image' => Intervention\Image\Facades\Image::class, //门面下配置 3.查询手册 阅读全文
posted @ 2016-12-10 10:32 Docter 阅读(282) 评论(0) 推荐(0)
摘要:zoom:1.1; //将原有元素整体放大1.1倍 color:red !important; //css渲染等级最高 AUTOCOMPLETE="off" //输入框取消自动填充 autocomplete="new-password" //应对浏览器自动填充 阅读全文
posted @ 2016-12-09 17:11 Docter 阅读(106) 评论(0) 推荐(0)