超管后台 - 客户池列表

This commit is contained in:
柳清爽
2025-04-11 15:04:57 +08:00
parent 04895ffd7c
commit b4b1fb6d15
6 changed files with 225 additions and 8 deletions

View File

@@ -0,0 +1,42 @@
<?php
namespace app\superadmin\model;
use think\Model;
/**
* 微信好友模型
*/
class WechatFriend extends Model
{
// 设置数据表名
protected $name = 'wechat_friend';
// 不使用自增主键
protected $pk = null;
// 指定自动时间字段的格式
protected $autoWriteTimestamp = 'datetime';
// 定义时间戳字段名
protected $createTime = 'createTime';
protected $updateTime = 'updateTime';
// 定义字段类型
protected $type = [
'id' => 'integer',
'wechatAccountId' => 'integer',
'gender' => 'integer',
'addFrom' => 'integer',
'isDeleted' => 'integer',
'isPassed' => 'integer',
'accountId' => 'integer',
'groupId' => 'integer',
'updateTime' => 'integer',
'labels' => 'json',
'extendFields' => 'json',
'thirdParty' => 'json',
'deleteTime' => 'datetime',
'passTime' => 'datetime',
'createTime' => 'datetime'
];
}