私域操盘手 - 重写微信号管理

This commit is contained in:
柳清爽
2025-05-10 10:17:58 +08:00
parent 50cd82f5d3
commit c09864ee89
10 changed files with 306 additions and 204 deletions

View File

@@ -3,12 +3,15 @@
namespace app\common\model;
use think\Model;
use think\model\concern\SoftDelete;
/**
* 微信好友模型类
*/
class WechatFriend extends Model
{
use SoftDelete;
// 设置表名
protected $name = 'wechat_friend';
@@ -16,5 +19,6 @@ class WechatFriend extends Model
protected $autoWriteTimestamp = true;
protected $createTime = 'createTime';
protected $updateTime = 'updateTime';
protected $deleteTime = 'deleteTime';
protected $defaultSoftDelete = 0;
}