mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Push.php
This commit is contained in:
parent
dd6c77bd13
commit
ad5268b3ca
@ -196,8 +196,8 @@ class Push extends Controller
|
|||||||
*/
|
*/
|
||||||
private function _keys(string $rule, bool $last = false, bool $custom = false)
|
private function _keys(string $rule, bool $last = false, bool $custom = false)
|
||||||
{
|
{
|
||||||
if (stripos($rule, 'reply#text:') === 0) {
|
if (stripos($rule, 'WechatKeys#keys#reply#text:') === 0) {
|
||||||
[, $content] = explode('#text:', $rule);
|
[, $content] = explode('WechatKeys#keys#reply#text:', $rule);
|
||||||
return $this->_buildMessage('text', ['Content' => $content]);
|
return $this->_buildMessage('text', ['Content' => $content]);
|
||||||
}
|
}
|
||||||
[$table, $field, $value] = explode('#', $rule . '##');
|
[$table, $field, $value] = explode('#', $rule . '##');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user