bug修复

This commit is contained in:
wong
2025-09-29 11:57:17 +08:00
parent 5f0c1c8b97
commit 4a946062b3

View File

@@ -72,7 +72,7 @@ class ToDoController 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('好友不存在');
}