调用接口:获取工具型应用Token(通过code换取)
/**
* 获取工具型应用Token(通过code换取)
*
* @param string $code
* @param array $config
* @return mixed
*/
public function getToolAppToken($code, $config = [])
{
$params = [
'authorize_type' => 'authorization_code',
'code' => $code,
];
return $this->exec($params, $config);
}
{"success":false,"code":1103,"data":null,"message":"授权应用不匹配"}
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|