[接口]创建用户接口/api/user/login自动保存时间create_time和update_time
This commit is contained in:
@@ -35,6 +35,12 @@ class DiceConfig extends BaseModel
|
||||
*/
|
||||
protected $table = 'dice_config';
|
||||
|
||||
/**
|
||||
* 是否自动维护 create_time / update_time(继承基类 CREATED_AT / UPDATED_AT)
|
||||
* @var bool
|
||||
*/
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* 属性转换
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user