[0] HttpException in Mobile.php line 57

产品不存在

  1. }
  2. return $this->fetch('m/productList', [
  3. 'groupProduct' => $groupProduct,
  4. 'banner' => $banner,
  5. 'typeId' => $typeId
  6. ]);
  7. }
  8. $product = Db::name('interior_paint')->where('id', $id)->where('status', 1)->find();
  9. if(empty($product)) {
  10. throw new \think\exception\HttpException(404, '产品不存在');
  11. }
  12. $product['img'] = json_decode($product['img'], true);
  13. $product['effect'] = json_decode($product['effect'], true);
  14. $authIds = explode(',', $product['authentication']);
  15. if(!empty($authIds)) {
  16. $auth = Db::name('interior_paint_auth')->where('id', 'in', $authIds)->select();
  17. }
  18. $tpl = 'm/productDetail';
  19. if(in_array($id, [21, 22, 23, 25])) {

Call Stack

  1. in Mobile.php line 57
  2. at Mobile->product()
  3. at ReflectionMethod->invokeArgs(object(Mobile), []) in App.php line 343
  4. at App::invokeMethod([object(Mobile), 'product'], []) in App.php line 611
  5. at App::module([null, 'Mobile', 'product'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  6. at App::exec(['type' => 'module', 'module' => [null, 'Mobile', 'product'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  7. at App::run() in start.php line 19
  8. at require('/mnt/www/web/thinkph...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_UNIQUE_ID
ZgaR46CsQohY22JcGvPyqwAAAAI
REDIRECT_HTTPS
on
REDIRECT_SSL_TLS_SNI
m.swfarbe.com
REDIRECT_STATUS
200
UNIQUE_ID
ZgaR46CsQohY22JcGvPyqwAAAAI
HTTPS
on
SSL_TLS_SNI
m.swfarbe.com
SSL_SERVER_S_DN_CN
m.swfarbe.com
SSL_SERVER_I_DN_C
US
SSL_SERVER_I_DN_O
DigiCert Inc
SSL_SERVER_I_DN_OU
www.digicert.com
SSL_SERVER_I_DN_CN
Encryption Everywhere DV TLS CA - G2
SSL_SERVER_SAN_DNS_0
m.swfarbe.com
SSL_VERSION_INTERFACE
mod_ssl/2.4.39
SSL_VERSION_LIBRARY
OpenSSL/1.0.2s
SSL_PROTOCOL
TLSv1.2
SSL_SECURE_RENEG
true
SSL_COMPRESS_METHOD
NULL
SSL_CIPHER
ECDHE-RSA-AES256-GCM-SHA384
SSL_CIPHER_EXPORT
false
SSL_CIPHER_USEKEYSIZE
256
SSL_CIPHER_ALGKEYSIZE
256
SSL_CLIENT_VERIFY
NONE
SSL_SERVER_M_VERSION
3
SSL_SERVER_M_SERIAL
0103D677B13229D368F53F5C0D527AFA
SSL_SERVER_V_START
Feb 20 00:00:00 2024 GMT
SSL_SERVER_V_END
May 20 23:59:59 2024 GMT
SSL_SERVER_S_DN
CN=m.swfarbe.com
SSL_SERVER_I_DN
CN=Encryption Everywhere DV TLS CA - G2,OU=www.digicert.com,O=DigiCert Inc,C=US
SSL_SERVER_A_KEY
rsaEncryption
SSL_SERVER_A_SIG
sha256WithRSAEncryption
SSL_SESSION_RESUMED
Initial
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_REFERER
http://m.swfarbe.com/InteriorPaintDetail/1.html
HTTP_HOST
m.swfarbe.com
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
LD_LIBRARY_PATH
/opt/lampp/lib:/opt/lampp/lib
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.4.39 (Unix) OpenSSL/1.0.2s PHP/7.3.7 mod_perl/2.0.8-dev Perl/v5.16.3
SERVER_NAME
m.swfarbe.com
SERVER_ADDR
172.26.200.61
SERVER_PORT
443
REMOTE_ADDR
54.225.24.249
DOCUMENT_ROOT
/mnt/www/web/public
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/mnt/www/web/public
SERVER_ADMIN
you@example.com
SCRIPT_FILENAME
/mnt/www/web/public/index.php
REMOTE_PORT
42134
REDIRECT_URL
/InteriorPaintDetail/1.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/InteriorPaintDetail/1.html
SCRIPT_NAME
/index.php
PATH_INFO
/InteriorPaintDetail/1.html
PATH_TRANSLATED
redirect:/index.php/InteriorPaintDetail/1.html/1.html
PHP_SELF
/index.php/InteriorPaintDetail/1.html
REQUEST_TIME_FLOAT
1711706595.689
REQUEST_TIME
1711706595
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/www/web/public/../application/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1711706595.6902
THINK_START_MEM
403960
EXT
.php
DS
/
THINK_PATH
/mnt/www/web/thinkphp/
LIB_PATH
/mnt/www/web/thinkphp/library/
CORE_PATH
/mnt/www/web/thinkphp/library/think/
TRAIT_PATH
/mnt/www/web/thinkphp/library/traits/
ROOT_PATH
/mnt/www/web/
EXTEND_PATH
/mnt/www/web/extend/
VENDOR_PATH
/mnt/www/web/vendor/
RUNTIME_PATH
/mnt/www/web/runtime/
LOG_PATH
/mnt/www/web/runtime/log/
CACHE_PATH
/mnt/www/web/runtime/cache/
SESSION_PATH
/mnt/www/web/runtime/session/
TEMP_PATH
/mnt/www/web/runtime/temp/
CONF_PATH
/mnt/www/web/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false