From ad5268b3caefe4f20a5b2e39f6ee59b1fa115e73 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sun, 11 Oct 2020 16:42:40 +0800 Subject: [PATCH] Update Push.php --- app/wechat/controller/api/Push.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/wechat/controller/api/Push.php b/app/wechat/controller/api/Push.php index 1dd2080c0..bc8466423 100644 --- a/app/wechat/controller/api/Push.php +++ b/app/wechat/controller/api/Push.php @@ -196,8 +196,8 @@ class Push extends Controller */ private function _keys(string $rule, bool $last = false, bool $custom = false) { - if (stripos($rule, 'reply#text:') === 0) { - [, $content] = explode('#text:', $rule); + if (stripos($rule, 'WechatKeys#keys#reply#text:') === 0) { + [, $content] = explode('WechatKeys#keys#reply#text:', $rule); return $this->_buildMessage('text', ['Content' => $content]); } [$table, $field, $value] = explode('#', $rule . '##');