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
e6796667c2
commit
6197f692ec
@ -115,7 +115,7 @@ class Push extends Controller
|
||||
$this->fromOpenid = $this->receive['tousername'];
|
||||
// text, event, image, location
|
||||
if (method_exists($this, ($method = $this->receive['msgtype']))) {
|
||||
if (is_string(($result = $this->$method()))) return $result;
|
||||
if (is_string($result = $this->$method())) return $result;
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$this->app->log->error("{$e->getLine()} [{$e->getCode()}] {$e->getMessage()}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user