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