༺o༻ (@muxui)WordPress想对接liunxdo,然后获取用户的时候被cf拦截了 中发帖

public static function get_token_linuxdo($arg,$type,$code){

$arg['code'] = $code;
$arg['grant_type'] = 'authorization_code';
$arg['redirect_uri'] = B2_HOME_URI.'/open?type='.$type;

$res = wp_remote_post($arg['url'],
array(
'method' => 'POST',
'body' => $arg,
)
);

if(is_wp_error($res)){
...