[2] ErrorException in Jipiao.php line 58

Illegal string offset 'Status'

  1. static function getAirlineEnum()
  2. {
  3. cache(self::$options);
  4. $data = json_decode(Request::getHttpPost("GetAirlineEnum", json_encode([
  5. 'data' => [
  6. 'CompanyId' => Common::getWeb()["CompanyId"],
  7. ]
  8. ])), true);
  9. if ($data['Status'] != 0) {
  10. throw new \think\Exception('获取getAirlineEnum失败');
  11. }
  12. cache('GetAirlineEnum', $data);
  13. }
  14. static function getOrder_typeEnum()
  15. {
  16. cache(self::$options);
  17. $data = json_decode(Request::getHttpPost("GetOrder_typeEnum", json_encode([

Call Stack

  1. in Jipiao.php line 58
  2. at Error::appError(2, 'Illegal string offse...', 'D:\39.96.68.57\haiji...', 58, ['data' => '{"Status":0,"Info":"...']) in Jipiao.php line 58
  3. at Jipiao::getAirlineEnum() in Jipiao.php line 29
  4. at Jipiao->index()
  5. at ReflectionMethod->invokeArgs(object(Jipiao), []) in App.php line 343
  6. at App::invokeMethod([object(Jipiao), 'index'], []) in App.php line 611
  7. at App::module(['index', 'jipiao', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['index', 'jipiao', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('D:\39.96.68.57\haiji...') in index.php line 20

Environment Variables

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

Server/Request Data

PATH
C:\Program Files (x86)\iis express\PHP\v5.6;C:\Windows\system32\inetsrv;C:\Program Files\iis express\PHP\v7.2;C:\Windows\system32\inetsrv;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
PHPRC
D:/phpEnv/php/php-7.0.30-nts
PHP_FCGI_MAX_REQUESTS
10000
_FCGI_SHUTDOWN_EVENT_
3204
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/index/jipiao/index/lmid/1c59b2f17f6045a68d8d0ed858ffb06b/plmid/all.html
QUERY_STRING
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_URL
/index/jipiao/index/lmid/1c59b2f17f6045a68d8d0ed858ffb06b/plmid/all.html
REMOTE_PORT
20021
SCRIPT_FILENAME
D:/39.96.68.57/haijing_b2c/public/index.php
SERVER_ADMIN
admin@phpenv.cn
CONTEXT_DOCUMENT_ROOT
D:/39.96.68.57/haijing_b2c/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
D:/39.96.68.57/haijing_b2c/public
REMOTE_ADDR
156.235.95.52
SERVER_PORT
80
SERVER_ADDR
172.17.10.119
SERVER_NAME
www.8777777.cn
SERVER_SOFTWARE
Apache/2.4.33 (Win64) OpenSSL/1.0.2o mod_fcgid/2.3.9
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.8777777.cn
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
REDIRECT_PATH_INFO
index/jipiao/index/lmid/1c59b2f17f6045a68d8d0ed858ffb06b/plmid/all.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1582321572.3157
REQUEST_TIME
1582321572
PATH_INFO
index/jipiao/index/lmid/1c59b2f17f6045a68d8d0ed858ffb06b/plmid/all.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\39.96.68.57\haijing_b2c\public/../application/
THINK_VERSION
5.0.22
THINK_START_TIME
1582321572.3167
THINK_START_MEM
385320
EXT
.php
DS
\
THINK_PATH
D:\39.96.68.57\haijing_b2c\thinkphp\
LIB_PATH
D:\39.96.68.57\haijing_b2c\thinkphp\library\
CORE_PATH
D:\39.96.68.57\haijing_b2c\thinkphp\library\think\
TRAIT_PATH
D:\39.96.68.57\haijing_b2c\thinkphp\library\traits\
ROOT_PATH
D:\39.96.68.57\haijing_b2c\
EXTEND_PATH
D:\39.96.68.57\haijing_b2c\extend\
VENDOR_PATH
D:\39.96.68.57\haijing_b2c\vendor\
RUNTIME_PATH
D:\39.96.68.57\haijing_b2c\runtime\
LOG_PATH
D:\39.96.68.57\haijing_b2c\runtime\log\
CACHE_PATH
D:\39.96.68.57\haijing_b2c\runtime\cache\
TEMP_PATH
D:\39.96.68.57\haijing_b2c\runtime\temp\
CONF_PATH
D:\39.96.68.57\haijing_b2c\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true