http://static.jiaoyi51.com/upload/image/poster/20191126/d920189a6bbfa35a705b069120cf1071.jpg

1/1信息化供应链需三步走

最热头条 LOGISTICS HEADLINE

加载更多

http://static.i56r.com/data/attachment/portal/201511/02/171738kvq4oynqq3hs3m4o.jpg

德邦首战双十一,让大件货物随心买、安心递

热门文章
  • http://static.i56r.com/data/attachment/portal/201511/09/133237ie2ev2d1323x2xez.jpg

    “国标”即将出台,快递用三轮车需规范

    1
  • http://static.i56r.com/data/attachment/portal/201503/23/134004mj5jr5inyk7ji38r.jpg

    移动金融如诺曼底登陆的第二战场

    2
  • http://static.i56r.com/data/attachment/portal/201507/02/154849v1v8epivr4ip4p94.jpg

    治愈鞋企物流的“内伤”(上)

    3
System Error

[8192] ErrorException in Query.php line 372

Array and string offset access syntax with curly braces is deprecated

  1. // 按照md5的序列分表
  2. $seq = (ord(substr(md5($value), 0, 1)) % $rule['num']) + 1;
  3. break;
  4. default:
  5. if (function_exists($type)) {
  6. // 支持指定函数哈希
  7. $seq = (ord(substr($type($value), 0, 1)) % $rule['num']) + 1;
  8. } else {
  9. // 按照字段的首字母的值分表
  10. $seq = (ord($value{0}) % $rule['num']) + 1;
  11. }
  12. }
  13. return $this->getTable() . '_' . $seq;
  14. } else {
  15. // 当设置的分表字段不在查询条件或者数据中
  16. // 进行联合查询,必须设定 partition['num']
  17. $tableName = [];
  18. for ($i = 0; $i < $rule['num']; $i++) {
  19. $tableName[] = 'SELECT * FROM ' . $this->getTable() . '_' . ($i + 1);

Call Stack

  1. in Query.php line 372
  2. at Error::appError(8192, 'Array and string off...', '/data/sites/jiaoyi51...', 372, ['file' => '/data/sites/jiaoyi51...']) in Loader.php line 646
  3. at include() in Loader.php line 646
  4. at think\__include_file('/data/sites/jiaoyi51...') in Loader.php line 85
  5. at Loader::autoload('think\db\Query')
  6. at spl_autoload_call('think\db\Query') in Connection.php line 145
  7. at Connection->getQuery() in Connection.php line 171
  8. at Connection->__call('table', ['article_category'])
  9. at call_user_func_array([object(Mysql), 'table'], ['article_category']) in Db.php line 178
  10. at Db::__callStatic('table', ['article_category']) in Category.php line 83
  11. at Category::getName('7') in Article.php line 41
  12. at Article->cate()
  13. at ReflectionMethod->invokeArgs(object(Article), []) in App.php line 343
  14. at App::invokeMethod([object(Article), 'cate'], []) in App.php line 595
  15. at App::module([null, 'article', 'cate'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  16. at App::exec(['type' => 'module', 'module' => [null, 'article', 'cate']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  17. at App::run() in start.php line 19
  18. at require('/data/sites/jiaoyi51...') in index.php line 19

Environment Variables

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

Server/Request Data

USER
nobody
HOME
/
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
jiaoyi51.com
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_IF_MODIFIED_SINCE
Mon, 20 May 2024 17:58:56 GMT
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_STATUS
200
SERVER_NAME
jiaoyi51.com
SERVER_PORT
80
SERVER_ADDR
172.17.67.134
REMOTE_PORT
45244
REMOTE_ADDR
44.222.134.250
SERVER_SOFTWARE
nginx/1.14.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/sites/jiaoyi51.com/web/www/public
DOCUMENT_URI
/index.php/article/cate/id/7.html
REQUEST_URI
/article/cate/id/7.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
PATH_TRANSLATED
/data/sites/jiaoyi51.com/web/www/public/article/cate/id/7.html
PATH_INFO
/article/cate/id/7.html
SCRIPT_FILENAME
/data/sites/jiaoyi51.com/web/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/article/cate/id/7.html
REQUEST_TIME_FLOAT
1729015887.8286
REQUEST_TIME
1729015887
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/sites/jiaoyi51.com/web/www/public/../app/
CONF_PATH
/data/sites/jiaoyi51.com/web/www/public/../conf/
THINK_VERSION
5.0.15
THINK_START_TIME
1729015887.829
THINK_START_MEM
407448
EXT
.php
DS
/
THINK_PATH
/data/sites/jiaoyi51.com/web/www/thinkphp/
LIB_PATH
/data/sites/jiaoyi51.com/web/www/thinkphp/library/
CORE_PATH
/data/sites/jiaoyi51.com/web/www/thinkphp/library/think/
TRAIT_PATH
/data/sites/jiaoyi51.com/web/www/thinkphp/library/traits/
ROOT_PATH
/data/sites/jiaoyi51.com/web/www/
EXTEND_PATH
/data/sites/jiaoyi51.com/web/www/extend/
VENDOR_PATH
/data/sites/jiaoyi51.com/web/www/vendor/
RUNTIME_PATH
/data/sites/jiaoyi51.com/web/www/runtime/
LOG_PATH
/data/sites/jiaoyi51.com/web/www/runtime/log/
CACHE_PATH
/data/sites/jiaoyi51.com/web/www/runtime/cache/
TEMP_PATH
/data/sites/jiaoyi51.com/web/www/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false