diff --git a/server/app/dice/model/config/DiceConfig.php b/server/app/dice/model/config/DiceConfig.php index fbd02d0..7a7bbcd 100644 --- a/server/app/dice/model/config/DiceConfig.php +++ b/server/app/dice/model/config/DiceConfig.php @@ -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; + /** * 属性转换 */