自动问候功能提交
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
namespace app\chukebao\model;
|
||||
|
||||
use think\Model;
|
||||
class AiFriendSettings extends Model
|
||||
class AutoGreetings extends Model
|
||||
{
|
||||
protected $pk = 'id';
|
||||
protected $name = 'ai_friend_settings';
|
||||
protected $name = 'kf_auto_greetings';
|
||||
|
||||
// 自动写入时间戳
|
||||
protected $autoWriteTimestamp = true;
|
||||
@@ -6,7 +6,7 @@ use think\Model;
|
||||
class FollowUp extends Model
|
||||
{
|
||||
protected $pk = 'id';
|
||||
protected $name = 'follow_up';
|
||||
protected $name = 'kf_follow_up';
|
||||
|
||||
// 自动写入时间戳
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
17
Server/application/chukebao/model/FriendSettings.php
Normal file
17
Server/application/chukebao/model/FriendSettings.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace app\chukebao\model;
|
||||
|
||||
use think\Model;
|
||||
class FriendSettings extends Model
|
||||
{
|
||||
protected $pk = 'id';
|
||||
protected $name = 'kf_friend_settings';
|
||||
|
||||
// 自动写入时间戳
|
||||
protected $autoWriteTimestamp = true;
|
||||
protected $createTime = 'createTime';
|
||||
protected $updateTime = 'updateTime';
|
||||
|
||||
|
||||
}
|
||||
@@ -6,7 +6,7 @@ use think\Model;
|
||||
class Questions extends Model
|
||||
{
|
||||
protected $pk = 'id';
|
||||
protected $name = 'ai_questions';
|
||||
protected $name = 'kf_questions';
|
||||
|
||||
// 自动写入时间戳
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
@@ -6,7 +6,7 @@ use think\Model;
|
||||
class ToDo extends Model
|
||||
{
|
||||
protected $pk = 'id';
|
||||
protected $name = 'to_do';
|
||||
protected $name = 'kf_to_do';
|
||||
|
||||
// 自动写入时间戳
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
@@ -6,7 +6,7 @@ use think\Model;
|
||||
class TokensRecord extends Model
|
||||
{
|
||||
protected $pk = 'id';
|
||||
protected $name = 'tokens_record';
|
||||
protected $name = 'kf_tokens_record';
|
||||
|
||||
// 自动写入时间戳
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
Reference in New Issue
Block a user