[0] ThrowableError in aa8f028b3ad94e19afff10fcc547d6f0.php line 16

致命错误: Call to undefined function jdDetail()

  1. if(!isset($_GET['id'])){
  2. header('HTTP/1.1 404 Not Found');exit('404');
  3. }
  4. $val = Db::name('cack_jditem')->where('itemid',$_GET['id'])->limit(1)->select();
  5. if($_GET['ranking']){
  6. $ranking = Db::name('cack_jdranking')->where('jdrankingid',$_GET['ranking'])->limit(1)->select();
  7. }
  8. if(!isset($val['0'])){
  9. $json = jdDetail($_GET['id']);
  10. $arr = json_decode($json,true);
  11. if(isset($arr['code']) == '200' && isset($arr['data']['0']['goodsName'])){
  12. //echo $arr['data']['0']['goodsName'];
  13. //echo print_r($arr);
  14. $dataarr = array(
  15. 'itemid' => $arr['data']['0']['skuId'],
  16. 'cidName' => $arr['data']['0']['cidName'],
  17. 'cid2Name' => $arr['data']['0']['cid2Name'],
  18. 'cid3Name' => $arr['data']['0']['cid3Name'],

Call Stack

  1. in aa8f028b3ad94e19afff10fcc547d6f0.php line 16
  2. at include() in File.php line 53
  3. at File->read('/www/wwwroot/www.xin...', ['user' => null, 'site' => ['name' => '芯参数', 'beian' => '津ICP备19007594号...', 'cdnurl' => 'https://c1.xincanshu...', ...], 'config' => ['site' => ['name' => '芯参数', 'cdnurl' => 'https://c1.xincanshu...', 'version' => 1711619310, ...], 'upload' => ['cdnurl' => 'https://c1.xincanshu...', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]]) in Template.php line 188
  4. at Template->fetch('/www/wwwroot/www.xin...', ['user' => null, 'site' => ['name' => '芯参数', 'beian' => '津ICP备19007594号...', 'cdnurl' => 'https://c1.xincanshu...', ...], 'config' => ['site' => ['name' => '芯参数', 'cdnurl' => 'https://c1.xincanshu...', 'version' => 1711619310, ...], 'upload' => ['cdnurl' => 'https://c1.xincanshu...', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]], []) in Think.php line 86
  5. at Think->fetch('/www/wwwroot/www.xin...', ['user' => null, 'site' => ['name' => '芯参数', 'beian' => '津ICP备19007594号...', 'cdnurl' => 'https://c1.xincanshu...', ...], 'config' => ['site' => ['name' => '芯参数', 'cdnurl' => 'https://c1.xincanshu...', 'version' => 1711619310, ...], 'upload' => ['cdnurl' => 'https://c1.xincanshu...', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]], []) in View.php line 163
  6. at View->fetch('/m/item') in M.php line 28
  7. at M->item()
  8. at ReflectionMethod->invokeArgs(object(M), []) in App.php line 343
  9. at App::invokeMethod([object(M), 'item'], []) in App.php line 611
  10. at App::module(['index', 'm', 'item'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  11. at App::exec(['type' => 'module', 'module' => ['index', 'm', 'item']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  12. at App::run() in start.php line 19
  13. at require('/www/wwwroot/www.xin...') in index.php line 24

Environment Variables

GET Data

id
67598867494
ranking
17807
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_OHC_UPSTREAM_ID
72dddec1d9865855,6fc2712e08bd46f4
HTTP_BAIDU_CDN_TTL
2
HTTP_X_REAL_IP
34.230.68.214
HTTP_X_FORWARDED_HOST
www.xincanshu.com
HTTP_X_FORWARDED_PROTO
https
HTTP_X_FORWARDED_FOR
34.230.68.214,150.138.110.85
HTTP_OHC_SSL_VERSION
2
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_BAIDU_CDN_REQUEST_ID
1711619310539-741774473-150.138.110.76-2
HTTP_VIA
Baidu-CDN-Node1,Baidu-CDN-Node3
HTTP_X_VIA
Baidu-CDN-Node1,Baidu-CDN-Node3
HTTP_CONNECTION
keep-alive
HTTP_RANGE
bytes=0-1048575
HTTP_HOST
www.xincanshu.com
PATH_INFO
/index/m/item.html
REDIRECT_STATUS
200
SERVER_NAME
www.xincanshu.com
SERVER_PORT
443
SERVER_ADDR
10.0.16.12
REMOTE_PORT
29740
REMOTE_ADDR
150.138.138.85
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.xincanshu.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/item/67598867494.html?ranking=17807
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/m/item.html&id=67598867494&ranking=17807
SCRIPT_FILENAME
/www/wwwroot/www.xincanshu.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711619310.6207
REQUEST_TIME
1711619310
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.xincanshu.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711619310.6208
THINK_START_MEM
399016
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/
LIB_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.xincanshu.com/
EXTEND_PATH
/www/wwwroot/www.xincanshu.com/extend/
VENDOR_PATH
/www/wwwroot/www.xincanshu.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.xincanshu.com/runtime/
LOG_PATH
/www/wwwroot/www.xincanshu.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.xincanshu.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.xincanshu.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.xincanshu.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/www.xincanshu.com/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/www.xincanshu.com/addons/
PINYIN_DEFAULT
4096
PINYIN_TONE
2
PINYIN_NO_TONE
4
PINYIN_ASCII_TONE
8
PINYIN_NAME
16
PINYIN_KEEP_NUMBER
32
PINYIN_KEEP_ENGLISH
64
PINYIN_UMLAUT_V
128
PINYIN_KEEP_PUNCTUATION
256
QINIU_FUNCTIONS_VERSION
7.12.0
XS_APP_ROOT
/www/wwwroot/www.xincanshu.com/addons/xunsearch/data