From 5a52b56d895789ca7dcee163a306501a0d0d0aa3 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Mon, 24 Nov 2025 17:18:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/model/WechatAccountModel.php | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/Server/application/api/model/WechatAccountModel.php b/Server/application/api/model/WechatAccountModel.php index 919da478..001d3c63 100644 --- a/Server/application/api/model/WechatAccountModel.php +++ b/Server/application/api/model/WechatAccountModel.php @@ -8,26 +8,4 @@ class WechatAccountModel extends Model { // 设置表名 protected $table = 's2_wechat_account'; - - // 定义字段类型 - protected $type = [ - 'healthScore' => 'integer', - 'baseScore' => 'integer', - 'dynamicScore' => 'integer', - 'isModifiedAlias' => 'integer', - 'frequentCount' => 'integer', - 'consecutiveNoFrequentDays' => 'integer', - 'lastFrequentTime' => 'integer', - 'lastNoFrequentTime' => 'integer', - 'scoreUpdateTime' => 'integer', - ]; - - // 允许批量赋值的字段 - protected $field = [ - 'id', 'wechatId', 'alias', 'nickname', 'avatar', 'gender', 'region', 'signature', - 'healthScore', 'baseScore', 'dynamicScore', 'isModifiedAlias', - 'lastFrequentTime', 'frequentCount', 'lastNoFrequentTime', - 'consecutiveNoFrequentDays', 'scoreUpdateTime', - 'createTime', 'updateTime', 'status', 'isDeleted' - ]; } \ No newline at end of file