[接口]创建用户接口/api/user/login自动保存时间create_time和update_time

This commit is contained in:
2026-03-06 18:09:02 +08:00
parent 330bd3b525
commit 1cb2e26a77

View File

@@ -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;
/**
* 属性转换
*/