|
...
|
...
|
@@ -180,14 +180,21 @@ class AyrShare |
|
|
|
* @time :2023/5/5 17:32
|
|
|
|
*/
|
|
|
|
public function get_brand_user($param){
|
|
|
|
//[[platforms,'instagram','user']],[platforms,'twitter',user]]
|
|
|
|
//[[platforms=>'instagram','instagramUser'=>'user']]
|
|
|
|
$str = '';
|
|
|
|
foreach ($param as $k =>$v){
|
|
|
|
$str .= $v[0][$k].'='.$v[1];
|
|
|
|
//platforms[0]=instagram&platforms[1]=twitter&twitterUser=ayrshare&instagramUser=nygiants',
|
|
|
|
}
|
|
|
|
$url = $this->path.'/api/brand/byUser?'.$str;
|
|
|
|
return $this->http_click('get',$url);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name :get_profiles
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/5/5 18:07
|
|
|
|
*/
|
|
|
|
public function get_profiles(){
|
|
|
|
// $param = [
|
|
|
|
// 'title'=>$data['title'],
|
...
|
...
|
|