dever 6 years ago
parent
commit
3a31875118
1 changed files with 0 additions and 3 deletions
  1. 0 3
      main/lib/Wechat.php

+ 0 - 3
main/lib/Wechat.php

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