From 92589b68b6dc2b1da209a088d17f470aaf0d184c Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Fri, 21 Mar 2025 20:17:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7WS?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=BD=92=E6=A1=A3=E8=A1=A8=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=AD=A3=E5=B1=9E=E6=80=A7=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E5=B9=B6=E5=A2=9E=E5=8A=A0=E5=8F=AF=E6=89=B9=E9=87=8F=E8=B5=8B?= =?UTF-8?q?=E5=80=BC=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/model/UserPhoneDayLog.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/model/UserPhoneDayLog.php b/app/model/UserPhoneDayLog.php index 3b89094..8e86308 100644 --- a/app/model/UserPhoneDayLog.php +++ b/app/model/UserPhoneDayLog.php @@ -5,13 +5,13 @@ namespace app\model; use support\Model; /** - * 用户WS信息表模型 + * 用户WS信息归档表模型 * * @property int $id 用户记录的唯一标识符 * @property string $phone 用户手机号(WS手机号) * @property string $created_at 创建时间 * @property string $updated_at 更新时间 - * @property string $time 在线时间 + * @property int $time 在线时间(单位:秒) */ class UserPhoneDayLog extends Model { @@ -36,5 +36,11 @@ class UserPhoneDayLog extends Model */ public $timestamps = true; + /** + * 可批量赋值字段 + * + * @var array + */ + protected $fillable = ['phone', 'created_at', 'updated_at', 'time']; }