作者 景龙
1 个管道 的构建 通过 耗费 0 秒

测试微博

@@ -451,7 +451,7 @@ class LoginController extends HomeBaseController @@ -451,7 +451,7 @@ class LoginController extends HomeBaseController
451 $url = 'https://api.weibo.com/2/statuses/share.json'; 451 $url = 'https://api.weibo.com/2/statuses/share.json';
452 $data = [ 452 $data = [
453 'access_token' => $token, 453 'access_token' => $token,
454 - 'status' => '成功成功! http://www.starplanet.cn/portal/enjoy/getEnjoyDetail?id=52', 454 + 'status' => URLencode('成功 http://www.starplanet.cn/portal/enjoy/getEnjoyDetail?id=52')
455 ]; 455 ];
456 $res = $this->http_post($url,$data); 456 $res = $this->http_post($url,$data);
457 $json_arr = json_decode($res,true); 457 $json_arr = json_decode($res,true);