bug修改

This commit is contained in:
wong
2025-09-28 18:06:18 +08:00
parent 9fa09bb743
commit a923615190
3 changed files with 19 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ class FollowUpController extends BaseController
if (empty($title) || empty($reminderTime) || empty($description) || empty($friendId)){
return ResponseHelper::error('参数缺失');
}
$friend = Db::name('wechat_friendship')->where(['id' => $friendId])->find();
$friend = Db::table('s2_wechat_friend')->where(['id' => $friendId])->find();
if (empty($friend)) {
return ResponseHelper::error('好友不存在');
}