{
$id = request()->param('id','');
$qq = Db::name('Type')->where('encoding','=','qq')->find();
$qq['file_path']=Db::name('File')->where(array('id'=>$qq['file_id']))->find();
$this->assign('qq',$qq);
$case = Db::name('SuccessCase')->find($id);
$image = explode(',',$case['image_id']);
$case['file_path'] = Db::name('File')->where('id','in',$image)->select();
// dump($case);
$case['create_time'] = date('Y-m-d H:i:s',$case['create_time']);
$this->assign('case',$case);
return $this->fetch();
}
}
USER | www |
HOME | /home/www |
HTTP_ACCEPT_ENCODING | gzip, identity;q=0.9 |
HTTP_ACCEPT_LANGUAGE | zh, en, * |
HTTP_ACCEPT | text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1 |
HTTP_USER_AGENT | Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98) |
HTTP_HOST | www.skyunseen.com |
HTTP_CONNECTION | keep-alive |
HTTP_REFERER | http://www.skyunseen.com/cases/24.html |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | diyyun.com |
SERVER_PORT | 443 |
SERVER_ADDR | 27.155.105.53 |
REMOTE_PORT | 1408 |
REMOTE_ADDR | 123.161.202.56 |
SERVER_SOFTWARE | nginx/1.15.10 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/diyyun.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /cases/favicon.ico |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/cases/favicon.ico |
SCRIPT_FILENAME | /www/wwwroot/diyyun.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1558936056.1065 |
REQUEST_TIME | 1558936056 |