[8] ErrorException in Project.php line 139

未定义数组索引: slpct.investment.project.get.1_0

  1. public function detail(){
  2. $param = request()->param();
  3. $api_code = 'slpct.investment.project.get';
  4. $api_version = '1_0';
  5. $request_data = [
  6. 'investment_project_id' => isset($param['id']) ? $param['id'] : '',
  7. ];
  8. $result = get_api($api_code,$api_version,$request_data);
  9. $back_data = $result[$api_code . '.' . $api_version];
  10. $scene_data = json_decode($back_data['due_scene']['scene_data'],true);
  11. $back_data['organizetion_imgs']= '';
  12. if(isset($scene_data['organization_imgs']) && $scene_data['organization_imgs']){
  13. $back_data['organizetion_imgs'] = json_decode($scene_data['organization_imgs'],true);
  14. }
  15. // 天博国际棋牌方式(int)
  16. $financing_mode_int = $back_data['financing_mode'];
  17. $project_status = $back_data['status'];
  18. if($result['code'] === 0){

Call Stack

  1. in Project.php line 139
  2. at Error::appError(8, 'Undefined index: slp...', '/home/data/wwwroot/s...', 139, ['param' => ['/index/project/detail/id/____val_investment_project_id' => '', 'id' => ' val.investment_p...'], 'api_code' => 'slpct.investment.pro...', 'api_version' => '1_0', ...]) in Project.php line 139
  3. at Project->detail()
  4. at ReflectionMethod->invokeArgs(object(Project), []) in App.php line 343
  5. at App::invokeMethod([object(Project), 'detail'], []) in App.php line 611
  6. at App::module(['index', 'project', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'project', 'detail']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/home/data/wwwroot/t...') in index.php line 17

Environment Variables

GET Data

/index/project/detail/id/____val_investment_project_id
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_HTTPS
on
REDIRECT_STATUS
200
HTTPS
on
HTTP_HOST
www.slpct.cn
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_X_TRUE_IP
175.29.3.58
HTTP_X_REAL_IP
175.29.3.58
HTTP_WEB_SERVER_TYPE
nginx
HTTP_WL_PROXY_CLIENT_IP
175.29.3.58
HTTP_X_FORWARDED_FOR
175.29.3.58
HTTP_X_FORWARDED_PROTO
https
HTTP_X_FORWARDED_CLUSTER
waf,
HTTP_EAGLEEYE_TRACEID
784c10e616147702915573814e910b
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_EAGLEEYE_RPCID
0.1
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LD_LIBRARY_PATH
/usr/local/apache/lib
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.4.29 (Unix) OpenSSL/1.0.2k-fips PHP/7.2.5
SERVER_NAME
www.slpct.cn
SERVER_ADDR
172.17.0.3
SERVER_PORT
443
REMOTE_ADDR
120.76.16.230
DOCUMENT_ROOT
/home/data/wwwroot/slpct_open_website_org/public
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/home/data/wwwroot/slpct_open_website_org/public
SERVER_ADMIN
email@example.com
SCRIPT_FILENAME
/home/data/wwwroot/slpct_open_website_org/public/index.php
REMOTE_PORT
61834
REDIRECT_URL
/index/project/detail/id/ val.investment_project_id
REDIRECT_QUERY_STRING
/index/project/detail/id/ val.investment_project_id
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
/index/project/detail/id/ val.investment_project_id
REQUEST_URI
/index/project/detail/id/%20%20%20%20val.investment_project_id
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1614770291.57
REQUEST_TIME
1614770291
PATH_INFO
/index/project/detail/id/ val.investment_project_id
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/data/wwwroot/slpct_open_website_org/public/../application/
THINK_VERSION
5.0.23
THINK_START_TIME
1614770291.571
THINK_START_MEM
407952
EXT
.php
DS
/
THINK_PATH
/home/data/wwwroot/thinkphp_5.0.23_with_extend/
LIB_PATH
/home/data/wwwroot/thinkphp_5.0.23_with_extend/library/
CORE_PATH
/home/data/wwwroot/thinkphp_5.0.23_with_extend/library/think/
TRAIT_PATH
/home/data/wwwroot/thinkphp_5.0.23_with_extend/library/traits/
ROOT_PATH
/home/data/wwwroot/slpct_open_website_org/
EXTEND_PATH
/home/data/wwwroot/slpct_open_website_org/extend/
VENDOR_PATH
/home/data/wwwroot/slpct_open_website_org/vendor/
RUNTIME_PATH
/home/data/wwwroot/slpct_open_website_org/runtime/
LOG_PATH
/home/data/wwwroot/slpct_open_website_org/runtime/log/
CACHE_PATH
/home/data/wwwroot/slpct_open_website_org/runtime/cache/
TEMP_PATH
/home/data/wwwroot/slpct_open_website_org/runtime/temp/
CONF_PATH
/home/data/wwwroot/slpct_open_website_org/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false