This commit is contained in:
wong
2025-11-27 18:10:23 +08:00
parent 637dcddee2
commit e658a32244

View File

@@ -138,11 +138,11 @@ class DataProcessing extends BaseController
$affected = WechatMessageModel::where('id', $messageId)->update($update);
if ($affected === false) {
return ResponseHelper::error('更新消息状态失败');
return ResponseHelper::success('','更新消息状态失败');
}
if ($affected === 0) {
return ResponseHelper::error('消息不存在');
return ResponseHelper::success('','消息不存在');
}
$msg = '更新消息状态成功';