chore: 重写初始提交(清空历史,整理后全量提交)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | YwxApp [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: ywxapp<admin@ywxapp.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace addon\wxchat\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
|
||||
class WxchatMessageRecall extends Model
|
||||
{
|
||||
// 遗留完整表名(无 wxapp_ 前缀,须用 $table 显式声明,不能用 $name)
|
||||
protected $table = 'wxchat_message_recalls';
|
||||
|
||||
// 关联消息
|
||||
|
||||
public function message()
|
||||
{
|
||||
return $this->belongsTo(WxchatMessage::class, 'message_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user