dever 7 年之前
父節點
當前提交
3a31875118
共有 1 個文件被更改,包括 0 次插入3 次删除
  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];