Open raphaelsoul opened 7 years ago
这个接口用于获取用户常听排行榜。
public function record($uid, $type=1){ $url='http://music.163.com/weapi/v1/play/record?csrf_token='; $data=array( 'uid'=>$uid, 'type'=>$type, 'csrf_token'=>'', ); return $this->curl($url,$this->prepare($data)); }
type=1时只返回weekData, type=0时返回allData。建议加入
这个接口用于获取用户常听排行榜。
type=1时只返回weekData, type=0时返回allData。建议加入