私域操盘手 - 调整账号权重计算规则,引入 WechatCustomer

This commit is contained in:
柳清爽
2025-05-15 16:14:48 +08:00
parent 2fec134ad7
commit b55f999de8
4 changed files with 98 additions and 29 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace app\common\model;
use think\Model;
/**
* 微信客服信息模型类
*/
class WechatCustomer extends Model
{
// 设置表名
protected $name = 'wechat_customer';
// 自动进行 json_encode/json_decode
protected $json = ['basic', 'weight', 'activity', 'friendShip'];
// 自动写入时间戳
protected $autoWriteTimestamp = true;
protected $updateTime = 'updateTime';
}