自动问候功能提交

This commit is contained in:
wong
2025-09-26 15:37:15 +08:00
parent 1e1b65684d
commit acabbf30da
11 changed files with 462 additions and 33 deletions

View File

@@ -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');
}