...
|
...
|
@@ -453,10 +453,11 @@ class LoginController extends HomeBaseController |
|
|
$url = 'https://api.weibo.com/2/statuses/share.json';
|
|
|
$data = [
|
|
|
'access_token' => $token,
|
|
|
'status' => $title." ".$share_url
|
|
|
'status' => $title." ".$share_url
|
|
|
];
|
|
|
$res = $this->http_post($url,$data);
|
|
|
$json_arr = json_decode($res,true);
|
|
|
var_dump($json_arr);exit;
|
|
|
if(isset($json_arr['error_code'])&&!empty($json_arr['error_code'])){
|
|
|
$this->apiResponse(0,'分享失败!');
|
|
|
}
|
...
|
...
|
|