自动问候功能提交
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace app\chukebao\controller;
|
||||
|
||||
use app\chukebao\model\FriendSettings;
|
||||
use library\ResponseHelper;
|
||||
use think\Db;
|
||||
|
||||
@@ -66,9 +67,7 @@ class WechatFriendController extends BaseController
|
||||
|
||||
$aiTypeData = [];
|
||||
if (!empty($friendIds)) {
|
||||
$aiTypeData = Db::name('ai_friend_settings')
|
||||
->where('friendId', 'in', $friendIds)
|
||||
->column('friendId,type');
|
||||
$aiTypeData = FriendSettings::where('friendId', 'in', $friendIds)->column('friendId,type');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user