|
@@ -150,6 +150,10 @@ class Wechat
|
|
|
$param = array('type' => $type, 'appid' => $this->project['appid']);
|
|
|
$param = Dever::token($param, $this->project['secret']);
|
|
|
$result = Dever::curl($this->project['url'], $param);
|
|
|
+ $result = Dever::json_decode($result);
|
|
|
+ if (isset($result['data'])) {
|
|
|
+ $result = $result['data'];
|
|
|
+ }
|
|
|
}
|
|
|
if (!$result) {
|
|
|
if ($refresh) {
|