public function corp()
{
$id = request()->param('id');
$corp = Corp::where([
'language' => $this->lang,
'pid' => $id
])->find();
if (!$corp) {
throw new \Exception('The enterprise does not exist', 404);
}
$corpComment = CorpComment::where([
'language' => $this->lang,
'corp_id' => $id
])->limit(2)->select();
$corpQuestion = corpQuestion::where([
'language' => $this->lang,
'corp_id' => $id
])->limit(2)->select();
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.togtok.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.togtok.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.31.25.41 |
REMOTE_PORT | 56798 |
REMOTE_ADDR | 54.152.5.73 |
SERVER_SOFTWARE | nginx/1.20.2 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.togtok.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /334-home-audio-video |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/334-home-audio-video |
SCRIPT_FILENAME | /www/wwwroot/www.togtok.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711676545.2682 |
REQUEST_TIME | 1711676545 |