}
/**获取一条数据
* @param int $id
* @return mixed
*/
public function getInfo(int $id)
{
$info = $this->dao->read($id);
$info->visit = $info['visit'] + 1;
if (!$info->save()){
throw new AdminException('请稍后查看');
}
// $cityInfo=app()->make(\app\services\shipping\SystemCityServices::class)->value();
if ($info) {
$info = $info->toArray();
if(count($info['tags'])>0){
$tag_list = $this->getTagUrl($info['tags']);
USER | www |
HOME | /home/www |
HTTP_REFERER | https://www.98.com/zufang/384850515456.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | 98.com |
REDIRECT_STATUS | 200 |
SERVER_NAME | 98.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.16.12.91 |
REMOTE_PORT | 54234 |
REMOTE_ADDR | 44.204.164.147 |
SERVER_SOFTWARE | nginx |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /data/new98.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /zufang/384850515456.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//zufang/384850515456.html |
SCRIPT_FILENAME | /data/new98.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1710848129.6086 |
REQUEST_TIME | 1710848129 |