优化
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user