作者 lyh

gx

@@ -180,14 +180,21 @@ class AyrShare @@ -180,14 +180,21 @@ class AyrShare
180 * @time :2023/5/5 17:32 180 * @time :2023/5/5 17:32
181 */ 181 */
182 public function get_brand_user($param){ 182 public function get_brand_user($param){
183 - //[[platforms,'instagram','user']],[platforms,'twitter',user]] 183 + //[[platforms=>'instagram','instagramUser'=>'user']]
184 $str = ''; 184 $str = '';
185 foreach ($param as $k =>$v){ 185 foreach ($param as $k =>$v){
186 - $str .= $v[0][$k].'='.$v[1]; 186 + //platforms[0]=instagram&platforms[1]=twitter&twitterUser=ayrshare&instagramUser=nygiants',
187 } 187 }
188 $url = $this->path.'/api/brand/byUser?'.$str; 188 $url = $this->path.'/api/brand/byUser?'.$str;
189 return $this->http_click('get',$url); 189 return $this->http_click('get',$url);
190 } 190 }
  191 +
  192 + /**
  193 + * @name :get_profiles
  194 + * @author :lyh
  195 + * @method :post
  196 + * @time :2023/5/5 18:07
  197 + */
191 public function get_profiles(){ 198 public function get_profiles(){
192 // $param = [ 199 // $param = [
193 // 'title'=>$data['title'], 200 // 'title'=>$data['title'],