代码提交

This commit is contained in:
wong
2025-09-26 17:06:14 +08:00
parent acabbf30da
commit 31354272e7
5 changed files with 46 additions and 41 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,'companyId' => $companyId])->find();
$friend = Db::name('wechat_friendship')->where(['id' => $friendId])->find();
if (empty($friend)) {
return ResponseHelper::error('好友不存在');
}