WIN-2308041133\Administrator 6 months ago
parent
commit
da4de240ae
1 changed files with 15 additions and 0 deletions
  1. 15 0
      application/admin/model/WechatPlanRecord.php

+ 15 - 0
application/admin/model/WechatPlanRecord.php

@@ -0,0 +1,15 @@
+<?php
+
+namespace app\admin\model;
+
+use think\Model;
+
+class WechatPlanRecord extends Model
+{
+
+    // 自动写入时间戳字段
+    protected $autoWriteTimestamp = 'int';
+    // 定义时间戳字段名
+    protected $createTime = 'createtime';
+
+}