First commit

This commit is contained in:
2025-10-02 10:33:06 +08:00
parent 198b8bf2a6
commit c38eed4a22
5512 changed files with 958855 additions and 0 deletions

38
app/im/model/ImSystemReply.php Executable file
View File

@@ -0,0 +1,38 @@
<?php
namespace app\im\model;
use app\BaseModel;
class ImReplyType extends BaseModel
{
//定义表名称
protected $name = 'longbing_card_reply_type';
//创建话术
public function createReply($data)
{
return $this->createRow($data);
}
//更新话术
public function updateReply($filter ,$data)
{
return $this->updateRow($filter ,$data);
}
//获取话术列表
public function listReply($filter)
{
$filter['deleted'] = 0;
$result = $this->where($filter)
->select();
if(!empty($result)) $result = $result->toArray();
return $result;
}
//删除话术
public function delReply($filter)
{
return $this->deleteRow($filter);
}
}