This commit is contained in:
wong
2026-01-17 17:20:23 +08:00
parent bac66de046
commit 5dfaba943b

View File

@@ -351,7 +351,7 @@ class MessageController extends BaseController
public function saveMessage($item)
{
// 检查消息是否已存在
$exists = WechatMessageModel::where('id', $item['id']) ->find();
$exists = WechatMessageModel::where(['id'=> $item['id'],'type' => 1])->find();
if (!empty($exists) && $exists['sendStatus'] == 0){
return true;