|
...
|
...
|
@@ -69,102 +69,8 @@ class AyrReleaseLogic extends BaseLogic |
|
|
|
return $this->success($arr);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name :(发布到推特)post_twitter
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/9 13:42
|
|
|
|
*/
|
|
|
|
public function post_twitter($param){
|
|
|
|
$param['post'] = '描述';
|
|
|
|
$param['platforms'] = ['twitter'];
|
|
|
|
$param['twitterOptions'] = [
|
|
|
|
'thread'=> true,
|
|
|
|
'threadNumber'=> true,
|
|
|
|
'mediaUrls'=>[
|
|
|
|
//图片地址
|
|
|
|
],
|
|
|
|
];
|
|
|
|
return $this->success($param);
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* @name :(发布到youtube)post_facebook
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/9 10:05
|
|
|
|
*/
|
|
|
|
public function post_facebook(){
|
|
|
|
$param['post'] = '视频描述';
|
|
|
|
$param['platforms'] = ['facebook'];
|
|
|
|
$param['faceBookOptions'] = [
|
|
|
|
'reels'=> true,
|
|
|
|
'title'=>'Super title for the Reel'
|
|
|
|
];
|
|
|
|
return $this->success($param);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name :(发布到fbg,)post_youtube
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/9 10:22
|
|
|
|
* @TODO::只能发布一张图片和一张视频
|
|
|
|
*/
|
|
|
|
public function post_gmb(){
|
|
|
|
$param['post'] = '描述';
|
|
|
|
$param['platforms'] = ['gmb'];
|
|
|
|
$param['mediaUrls'] = [];//图片链接
|
|
|
|
$param['gmbOptions'] = [
|
|
|
|
//视屏设置
|
|
|
|
'isPhotoVideo' => true,
|
|
|
|
'category'=> 'cate',//分类
|
|
|
|
];
|
|
|
|
return $this->success($param);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name :(发布到instagram)post_google
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/9 11:54
|
|
|
|
*/
|
|
|
|
public function post_instagram(){
|
|
|
|
$param['post'] = '视频描述';
|
|
|
|
$param['platforms'] = ['instagram'];
|
|
|
|
$param['faceBookOptions'] = [
|
|
|
|
'reels'=> true,
|
|
|
|
'title'=>'Super title for the Reel'
|
|
|
|
];
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name :(领英)post_linkedin
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/9 11:56
|
|
|
|
*/
|
|
|
|
public function post_linkedin(){
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name :(红迪网)post_reddit
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/9 13:40
|
|
|
|
*/
|
|
|
|
public function post_reddit(){
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name :(抖音)post_tiktok
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/9 13:44
|
|
|
|
*/
|
|
|
|
public function post_tiktok(){
|
|
|
|
public function platforms_request(){
|
|
|
|
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|