|
@@ -118,9 +118,6 @@ class Wechat
|
|
$result = $this->curl(false, $value);
|
|
$result = $this->curl(false, $value);
|
|
|
|
|
|
$key = $type;
|
|
$key = $type;
|
|
- if ($type == 'token') {
|
|
|
|
- $key = 'access_token';
|
|
|
|
- }
|
|
|
|
if ($result && isset($result[$key])) {
|
|
if ($result && isset($result[$key])) {
|
|
$data = $result;
|
|
$data = $result;
|
|
$data['value'] = $result[$key];
|
|
$data['value'] = $result[$key];
|