Laravel how to turn off timestamps in controller
淡淡烟草味
淡淡烟草味 2017-05-16 16:55:19
0
1
374

How to turn off timestamps in the controller?
The closing method of the model is

<?php namespace App;

use Illuminate\Database\Eloquent\Model;

class user extends Model {

     //protected $table = 'systems';

     //关闭时间
     public $timestamps = false;
}

What if I change it in the controller? Inject save verse case. . I want to simply write

淡淡烟草味
淡淡烟草味

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!