foreach($actorInfo['performer'] as $k =>$v){
$star = srModel::where('name','=',$v[2])->find();
array_push($p_new_arr,array('images'=>$v[0],'role_name'=>$v[1],'star_name'=>$v[2],'star_id'=>$star['id'],'role_intro'=>$v[3]));
}
}
//其它演员
if($actorInfo['other_actors']){
$actorInfo['other_actors'] = json_decode($actorInfo['other_actors']);
foreach($actorInfo['other_actors'] as $k1 =>$v1){
$star1 = srModel::where('name','=',$v1[1])->find();
if(isset($v1[2])){
$role_intro =$v1[2];
}else{
$role_intro= '';
}
array_push($o_new_arr,array('role_name'=>$v1[0],'star_name'=>$v1[1],'star_id'=>$star1['id'],'role_intro'=>$role_intro));
}
}
//相关看点
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/pnkds.com/public/index.php |
QUERY_STRING | s=/drama/actor/600.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /drama/actor/600.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/pnkds.com/public |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.22.1 |
REMOTE_ADDR | 172.70.39.155 |
REMOTE_PORT | 11302 |
SERVER_ADDR | 107.148.48.123 |
SERVER_PORT | 80 |
SERVER_NAME | 107.148.48.123 |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_HOST | www.pnkds.com |
HTTP_CONNECTION | Keep-Alive |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_X_FORWARDED_FOR | 3.238.62.124 |
HTTP_CF_RAY | 86b708bd29223931-IAD |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_CF_CONNECTING_IP | 3.238.62.124 |
HTTP_CDN_LOOP | cloudflare |
HTTP_CF_IPCOUNTRY | US |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711622763.4236 |
REQUEST_TIME | 1711622763 |
VIEW_PATH | /www/wwwroot/pnkds.com/application/index/view/pc/ |