[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
If you have been playing Wuthering Waves for a while, you must have heard of the Black Shore; several characters from there play a crucial role in progressing the game's narrative, and Camellya is one such character, with whom players briefly interac
to
zh-cn
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
28242
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=If+you+have+been+playing+Wuthering+Waves+for+a+while%2C+you+must+have+heard+of+the+Black+Shore%3B+several+characters+from+there+play+a+crucial+role+in+progressing+the+game%27s+narrative%2C+and+Camellya+is+one+such+character%2C+with+whom+players+briefly+interac&to=zh-cn
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=If+you+have+been+playing+Wuthering+Waves+for+a+while%2C+you+must+have+heard+of+the+Black+Shore%3B+several+characters+from+there+play+a+crucial+role+in+progressing+the+game%27s+narrative%2C+and+Camellya+is+one+such+character%2C+with+whom+players+briefly+interac&to=zh-cn
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732293376.6186
REQUEST_TIME
1732293376
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732293376.6191
THINK_START_MEM
410640
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
"/> System Error

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
If you have been playing Wuthering Waves for a while, you must have heard of the Black Shore; several characters from there play a crucial role in progressing the game's narrative, and Camellya is one such character, with whom players briefly interac
to
zh-cn
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
28242
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=If+you+have+been+playing+Wuthering+Waves+for+a+while%2C+you+must+have+heard+of+the+Black+Shore%3B+several+characters+from+there+play+a+crucial+role+in+progressing+the+game%27s+narrative%2C+and+Camellya+is+one+such+character%2C+with+whom+players+briefly+interac&to=zh-cn
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=If+you+have+been+playing+Wuthering+Waves+for+a+while%2C+you+must+have+heard+of+the+Black+Shore%3B+several+characters+from+there+play+a+crucial+role+in+progressing+the+game%27s+narrative%2C+and+Camellya+is+one+such+character%2C+with+whom+players+briefly+interac&to=zh-cn
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732293376.6186
REQUEST_TIME
1732293376
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732293376.6191
THINK_START_MEM
410640
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
">
搜索
首页手游教程手游攻略 System Error /* Base */ body { color: #333; font: 14px Verdana, 'Helvetica Neue', helvetica, Arial, 'Microsoft YaHei', sans-serif; margin: 0; padding: 0 20px 20px; word-break: break-word; } h1{ margin: 10px 0 0; font-size: 28px; font-weight: 500; line-height: 32px; } h2{ color: #4288ce; font-weight: 400; padding: 6px 0; margin: 6px 0 0; font-size: 18px; border-bottom: 1px solid #eee; } h3.subheading { color: #4288ce; margin: 6px 0 0; font-weight: 400; } h3{ margin: 12px; font-size: 16px; font-weight: bold; } abbr{ cursor: help; text-decoration: underline; text-decoration-style: dotted; } a{ color: #868686; cursor: pointer; } a:hover{ text-decoration: underline; } .line-error{ background: #f8cbcb; } .echo table { width: 100%; } .echo pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border: 0; border-radius: 3px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } .echo pre > pre { padding: 0; margin: 0; } /* Layout */ .col-md-3 { width: 25%; } .col-md-9 { width: 75%; } [class^='col-md-'] { float: left; } .clearfix { clear:both; } @media only screen and (min-device-width : 375px) and (max-device-width : 667px) { .col-md-3, .col-md-9 { width: 100%; } } /* Exception Info */ .exception { margin-top: 20px; } .exception .message{ padding: 12px; border: 1px solid #ddd; border-bottom: 0 none; line-height: 18px; font-size:16px; border-top-left-radius: 4px; border-top-right-radius: 4px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .code{ float: left; text-align: center; color: #fff; margin-right: 12px; padding: 16px; border-radius: 4px; background: #999; } .exception .source-code{ padding: 6px; border: 1px solid #ddd; background: #f9f9f9; overflow-x: auto; } .exception .source-code pre{ margin: 0; } .exception .source-code pre ol{ margin: 0; color: #4288ce; display: inline-block; min-width: 100%; box-sizing: border-box; font-size:14px; font-family: 'Century Gothic',Consolas,'Liberation Mono',Courier,Verdana; padding-left: 56px; } .exception .source-code pre li{ border-left: 1px solid #ddd; height: 18px; line-height: 18px; } .exception .source-code pre code{ color: #333; height: 100%; display: inline-block; border-left: 1px solid #fff; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace{ padding: 6px; border: 1px solid #ddd; border-top: 0 none; line-height: 16px; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace ol{ margin: 12px; } .exception .trace ol li{ padding: 2px 4px; } .exception div:last-child{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } /* Exception Variables */ .exception-var table{ width: 100%; margin: 12px 0; box-sizing: border-box; table-layout:fixed; word-wrap:break-word; } .exception-var table caption{ text-align: left; font-size: 16px; font-weight: bold; padding: 6px 0; } .exception-var table caption small{ font-weight: 300; display: inline-block; margin-left: 10px; color: #ccc; } .exception-var table tbody{ font-size: 13px; font-family: Consolas,'Liberation Mono',Courier,'微软雅黑'; } .exception-var table td{ padding: 0 6px; vertical-align: top; word-break: break-all; } .exception-var table td:first-child{ width: 28%; font-weight: bold; white-space: nowrap; } .exception-var table td pre{ margin: 0; } /* Copyright Info */ .copyright{ margin-top: 24px; padding: 12px 0; border-top: 1px solid #eee; } /* SPAN elements with the classes below are added by prettyprint. */ pre.prettyprint .pln { color: #000 } /* plain text */ pre.prettyprint .str { color: #080 } /* string content */ pre.prettyprint .kwd { color: #008 } /* a keyword */ pre.prettyprint .com { color: #800 } /* a comment */ pre.prettyprint .typ { color: #606 } /* a type name */ pre.prettyprint .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 } pre.prettyprint .tag { color: #008 } /* a markup tag name */ pre.prettyprint .atn { color: #606 } /* a markup attribute name */ pre.prettyprint .atv { color: #080 } /* a markup attribute value */ pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */ pre.prettyprint .fun { color: red } /* a function name */ [0] ThrowableError in Index.php line 220 语法解析错误: syntax error, unexpected '}' if($res){ return json_encode(array('code'=>1,'msg'=>'成功')); }else{ return json_encode(array('code'=>0,'msg'=>'失败')); } } public function } Call Stack in Index.php line 220 at think\__include_file() in Loader.php line 85 at Loader::autoload() at spl_autoload_call() at class_exists() in Loader.php line 478 at Loader::controller() in App.php line 580 at App::module() in App.php line 456 at App::exec() in App.php line 139 at App::run() in start.php line 19 at require('/data/wwwroot/td.880...') in index.php line 23 Environment Variables GET Data content 鸣潮: Camellya Build Guide to zh-cn POST Data empty Files empty Cookies myip 65.21.47.162 Session empty Server/Request Data TEMP /tmp TMPDIR /tmp TMP /tmp PATH /usr/local/bin:/usr/bin:/bin USER www HOME /home/www HTTP_CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 HTTP_CONNECTION Keep-Alive HTTP_COOKIE myip=65.21.47.162 HTTP_ACCEPT_ENCODING gzip HTTP_ACCEPT */* HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1) HTTP_HOST td.880772.xyz PATH_INFO /api/index/fanyi_article_title REDIRECT_STATUS 200 SERVER_NAME td.880772.xyz SERVER_PORT 443 SERVER_ADDR 188.165.242.95 REMOTE_PORT 28230 REMOTE_ADDR 65.21.47.162 SERVER_SOFTWARE nginx/1.20.2 GATEWAY_INTERFACE CGI/1.1 HTTPS on REQUEST_SCHEME https SERVER_PROTOCOL HTTP/1.1 DOCUMENT_ROOT /data/wwwroot/td.880772.xyz/public DOCUMENT_URI /index.php REQUEST_URI /api/index/fanyi_article_title?content=Wuthering+Waves%3A+Camellya+Build+Guide&to=zh-cn SCRIPT_NAME /index.php CONTENT_LENGTH CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 REQUEST_METHOD GET QUERY_STRING s=/api/index/fanyi_article_title&content=Wuthering+Waves%3A+Camellya+Build+Guide&to=zh-cn SCRIPT_FILENAME /data/wwwroot/td.880772.xyz/public/index.php PHP_VALUE open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/ FCGI_ROLE RESPONDER PHP_SELF /index.php REQUEST_TIME_FLOAT 1732293376.381 REQUEST_TIME 1732293376 Environment Variables empty ThinkPHP Constants PUBLIC_PATH /data/wwwroot/td.880772.xyz/public/../public/ APP_PATH /data/wwwroot/td.880772.xyz/public/../application/ THINK_VERSION 5.0.24 THINK_START_TIME 1732293376.3815 THINK_START_MEM 410128 EXT .php DS / THINK_PATH /data/wwwroot/td.880772.xyz/thinkphp/ LIB_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/ CORE_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/think/ TRAIT_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/traits/ ROOT_PATH /data/wwwroot/td.880772.xyz/ EXTEND_PATH /data/wwwroot/td.880772.xyz/extend/ VENDOR_PATH /data/wwwroot/td.880772.xyz/vendor/ RUNTIME_PATH /data/wwwroot/td.880772.xyz/runtime/ LOG_PATH /data/wwwroot/td.880772.xyz/runtime/log/ CACHE_PATH /data/wwwroot/td.880772.xyz/runtime/cache/ TEMP_PATH /data/wwwroot/td.880772.xyz/runtime/temp/ CONF_PATH /data/wwwroot/td.880772.xyz/public/../application/ CONF_EXT .php ENV_PREFIX PHP_ IS_CLI false IS_WIN false FILTER_VALIDATE_BOOL 258 ADDON_PATH /data/wwwroot/td.880772.xyz/addons/ ThinkPHP V5.0.24 { 十年磨一剑-为API开发设计的高性能框架 } var LINE = 220; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })();

System Error /* Base */ body { color: #333; font: 14px Verdana, 'Helvetica Neue', helvetica, Arial, 'Microsoft YaHei', sans-serif; margin: 0; padding: 0 20px 20px; word-break: break-word; } h1{ margin: 10px 0 0; font-size: 28px; font-weight: 500; line-height: 32px; } h2{ color: #4288ce; font-weight: 400; padding: 6px 0; margin: 6px 0 0; font-size: 18px; border-bottom: 1px solid #eee; } h3.subheading { color: #4288ce; margin: 6px 0 0; font-weight: 400; } h3{ margin: 12px; font-size: 16px; font-weight: bold; } abbr{ cursor: help; text-decoration: underline; text-decoration-style: dotted; } a{ color: #868686; cursor: pointer; } a:hover{ text-decoration: underline; } .line-error{ background: #f8cbcb; } .echo table { width: 100%; } .echo pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border: 0; border-radius: 3px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } .echo pre > pre { padding: 0; margin: 0; } /* Layout */ .col-md-3 { width: 25%; } .col-md-9 { width: 75%; } [class^='col-md-'] { float: left; } .clearfix { clear:both; } @media only screen and (min-device-width : 375px) and (max-device-width : 667px) { .col-md-3, .col-md-9 { width: 100%; } } /* Exception Info */ .exception { margin-top: 20px; } .exception .message{ padding: 12px; border: 1px solid #ddd; border-bottom: 0 none; line-height: 18px; font-size:16px; border-top-left-radius: 4px; border-top-right-radius: 4px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .code{ float: left; text-align: center; color: #fff; margin-right: 12px; padding: 16px; border-radius: 4px; background: #999; } .exception .source-code{ padding: 6px; border: 1px solid #ddd; background: #f9f9f9; overflow-x: auto; } .exception .source-code pre{ margin: 0; } .exception .source-code pre ol{ margin: 0; color: #4288ce; display: inline-block; min-width: 100%; box-sizing: border-box; font-size:14px; font-family: 'Century Gothic',Consolas,'Liberation Mono',Courier,Verdana; padding-left: 56px; } .exception .source-code pre li{ border-left: 1px solid #ddd; height: 18px; line-height: 18px; } .exception .source-code pre code{ color: #333; height: 100%; display: inline-block; border-left: 1px solid #fff; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace{ padding: 6px; border: 1px solid #ddd; border-top: 0 none; line-height: 16px; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace ol{ margin: 12px; } .exception .trace ol li{ padding: 2px 4px; } .exception div:last-child{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } /* Exception Variables */ .exception-var table{ width: 100%; margin: 12px 0; box-sizing: border-box; table-layout:fixed; word-wrap:break-word; } .exception-var table caption{ text-align: left; font-size: 16px; font-weight: bold; padding: 6px 0; } .exception-var table caption small{ font-weight: 300; display: inline-block; margin-left: 10px; color: #ccc; } .exception-var table tbody{ font-size: 13px; font-family: Consolas,'Liberation Mono',Courier,'微软雅黑'; } .exception-var table td{ padding: 0 6px; vertical-align: top; word-break: break-all; } .exception-var table td:first-child{ width: 28%; font-weight: bold; white-space: nowrap; } .exception-var table td pre{ margin: 0; } /* Copyright Info */ .copyright{ margin-top: 24px; padding: 12px 0; border-top: 1px solid #eee; } /* SPAN elements with the classes below are added by prettyprint. */ pre.prettyprint .pln { color: #000 } /* plain text */ pre.prettyprint .str { color: #080 } /* string content */ pre.prettyprint .kwd { color: #008 } /* a keyword */ pre.prettyprint .com { color: #800 } /* a comment */ pre.prettyprint .typ { color: #606 } /* a type name */ pre.prettyprint .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 } pre.prettyprint .tag { color: #008 } /* a markup tag name */ pre.prettyprint .atn { color: #606 } /* a markup attribute name */ pre.prettyprint .atv { color: #080 } /* a markup attribute value */ pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */ pre.prettyprint .fun { color: red } /* a function name */ [0] ThrowableError in Index.php line 220 语法解析错误: syntax error, unexpected '}' if($res){ return json_encode(array('code'=>1,'msg'=>'成功')); }else{ return json_encode(array('code'=>0,'msg'=>'失败')); } } public function } Call Stack in Index.php line 220 at think\__include_file() in Loader.php line 85 at Loader::autoload() at spl_autoload_call() at class_exists() in Loader.php line 478 at Loader::controller() in App.php line 580 at App::module() in App.php line 456 at App::exec() in App.php line 139 at App::run() in start.php line 19 at require('/data/wwwroot/td.880...') in index.php line 23 Environment Variables GET Data content 鸣潮: Camellya Build Guide to zh-cn POST Data empty Files empty Cookies myip 65.21.47.162 Session empty Server/Request Data TEMP /tmp TMPDIR /tmp TMP /tmp PATH /usr/local/bin:/usr/bin:/bin USER www HOME /home/www HTTP_CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 HTTP_CONNECTION Keep-Alive HTTP_COOKIE myip=65.21.47.162 HTTP_ACCEPT_ENCODING gzip HTTP_ACCEPT */* HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1) HTTP_HOST td.880772.xyz PATH_INFO /api/index/fanyi_article_title REDIRECT_STATUS 200 SERVER_NAME td.880772.xyz SERVER_PORT 443 SERVER_ADDR 188.165.242.95 REMOTE_PORT 28230 REMOTE_ADDR 65.21.47.162 SERVER_SOFTWARE nginx/1.20.2 GATEWAY_INTERFACE CGI/1.1 HTTPS on REQUEST_SCHEME https SERVER_PROTOCOL HTTP/1.1 DOCUMENT_ROOT /data/wwwroot/td.880772.xyz/public DOCUMENT_URI /index.php REQUEST_URI /api/index/fanyi_article_title?content=Wuthering+Waves%3A+Camellya+Build+Guide&to=zh-cn SCRIPT_NAME /index.php CONTENT_LENGTH CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 REQUEST_METHOD GET QUERY_STRING s=/api/index/fanyi_article_title&content=Wuthering+Waves%3A+Camellya+Build+Guide&to=zh-cn SCRIPT_FILENAME /data/wwwroot/td.880772.xyz/public/index.php PHP_VALUE open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/ FCGI_ROLE RESPONDER PHP_SELF /index.php REQUEST_TIME_FLOAT 1732293376.381 REQUEST_TIME 1732293376 Environment Variables empty ThinkPHP Constants PUBLIC_PATH /data/wwwroot/td.880772.xyz/public/../public/ APP_PATH /data/wwwroot/td.880772.xyz/public/../application/ THINK_VERSION 5.0.24 THINK_START_TIME 1732293376.3815 THINK_START_MEM 410128 EXT .php DS / THINK_PATH /data/wwwroot/td.880772.xyz/thinkphp/ LIB_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/ CORE_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/think/ TRAIT_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/traits/ ROOT_PATH /data/wwwroot/td.880772.xyz/ EXTEND_PATH /data/wwwroot/td.880772.xyz/extend/ VENDOR_PATH /data/wwwroot/td.880772.xyz/vendor/ RUNTIME_PATH /data/wwwroot/td.880772.xyz/runtime/ LOG_PATH /data/wwwroot/td.880772.xyz/runtime/log/ CACHE_PATH /data/wwwroot/td.880772.xyz/runtime/cache/ TEMP_PATH /data/wwwroot/td.880772.xyz/runtime/temp/ CONF_PATH /data/wwwroot/td.880772.xyz/public/../application/ CONF_EXT .php ENV_PREFIX PHP_ IS_CLI false IS_WIN false FILTER_VALIDATE_BOOL 258 ADDON_PATH /data/wwwroot/td.880772.xyz/addons/ ThinkPHP V5.0.24 { 十年磨一剑-为API开发设计的高性能框架 } var LINE = 220; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })();

Nov 23, 2024 am 12:33 AM

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

<ol start="211"><li class="line-211"><code>        if($res){
</code></li><li class="line-212"><code>            return json_encode(array('code'=>1,'msg'=>'成功'));
</code></li><li class="line-213"><code>        }else{
</code></li><li class="line-214"><code>            return json_encode(array('code'=>0,'msg'=>'失败'));
</code></li><li class="line-215"><code>        }
</code></li><li class="line-216"><code>    }
</code></li><li class="line-217"><code>
</code></li><li class="line-218"><code>    public function 
</code></li><li class="line-219"><code>
</code></li><li class="line-220"><code>}
</code></li></ol>

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

content
%3Cp%3EIf+you+have+been+playing+%3Cstrong%3EWuthering+Waves%3C%2Fstrong%3E+for+a+while%2C+you+must+have+heard+of+the+Black+Shore%3B+several+characters+from+there+play+a+crucial+role+in+progressing+the+game%27s+narrative%2C+and+Camellya+is+one+such+character%2C+with+whom+players+briefly+interact+within+the+game%27s+opening+act.%3C%2Fp%3E++++++++++++%0A++++%0A++++++++++++++++++++%0A++++++++++++++++++++++++%0A++++++++++++++++%0A++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++%0A++++++++%0A++++%0A++++++++%0A++++++++++++++++%0A++++++++%0A++++%0A++++++++%0A++++++++++++++++++++%09++++++++++++++++%0A%09%09%0A%09%09%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%0A++++++++++++++++%0A++++%0A++++%0A++++%0A++++++++++++++++%0A++++%0A++++++++++++++++%0A++++++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++%0A++++%0A++++%0A++++%0A%0A++++++++++++%0A%0A%0A%0A%0A%3Cp%3E%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F173229323442189.jpg%22+alt%3D%22Wuthering+Waves%3A+Camellya+Build+Guide%22+%2F%3E%3C%2Fp%3E%0A%0A%0A++++++++%0A++++++++++++%0A%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%0A%09%09%0A%09%0A%0A%09%09%0A%09%0A++++++++%0A++++++++++++++++++++%0A%09%09%09%0A%09%09%09%09%09%0A%0A%09%0A%0A%0A++++++++++++++++%0A%0A++++++++++++++++%0A++++++++++++++++%0A++++++++++++++++%0A++++++++++++%0A++++++++++++++++%0A++++++++%0A++++++++%0A++++++++%0A++++++++++++%0A%0A%3Cp%3ECamellya+is+a+Havoc+Sword+user+who+uses+her+plant-like+attacks+to+choke+the+life+out+of+her+enemies.+She+is+an+exceptionally+powerful+unit+with+very+high+damage+scaling+and+here%27s+how+you+can+build+her+to+make+the+most+out+of+her+kit.%3C%2Fp%3E++++%3Ch2%3E%0A++++++++++++++++++++++++Best+Camellya+Weapons%0A+++++++++++++++%3C%2Fh2%3E%0A++++++++++++++++%0A++++%0A++++%0A++++%0A++++++++++++++++%0A++++%0A++++++++++++++++%0A++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++%0A++++%0A++++%0A%0A++++++++++++%0A%0A%0A%0A%0A%3Cp%3E%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F173229324792157.jpg%22+alt%3D%22Wuthering+Waves%3A+Camellya+Build+Guide%22+%2F%3E%3C%2Fp%3E%0A%0A%0A++++++++%0A++++++++++++++++++++++++++++++++%0A%0A%3Cp%3E+Camellya+performs+best+%3Cstrong%3Ewhen+paired+with+her+signature+weapon%2C+Red+Spring%3C%2Fstrong%3E.+However%2C+Wuthering+Waves+is+quite+liberal+with+weapon+options+on+characters%2C+and+a+few+other+weapons+also+work+pretty+well+on+Camellya+if+you+decide+to+skip+her+signature+choice.%3C%2Fp%3E++++%0A++++++++%3Ctable+border%3D%221%22+cellpadding%3D%221%22+cellspacing%3D%221%22%3E%0A++++++++++++++++++++%0A%0A%3Ctbody+%3E%0A++++%0A%0A%3Ctr++%3E%0A++++++++++++%0A%0A++++%3Cth+%3E%0A%0A%0A++++++++%0A%3Cp%3ERank%3C%2Fp%3E++++%0A%0A++++%3C%2Fth%3E%0A%0A++++++++++++%0A%0A++++%3Cth+%3E%0A%0A%0A++++++++%0A%3Cp%3EWeapon%3C%2Fp%3E++++%0A%0A++++%3C%2Fth%3E%0A%0A++++++++++++%0A%0A++++%3Cth+%3E%0A%0A%0A++++++++%0A%3Cp%3ESynergy+with+Camellya%3C%2Fp%3E++++%0A%0A++++%3C%2Fth%3E%0A%0A++++%3C%2Ftr%3E%0A++++%0A%0A%3Ctr++%3E%0A++++++++++++%0A%0A++++%3Cth+%3E%0A%0A%0A++++++++%0A%3Cp%3E1%3C%2Fp%3E
to
zh-cn
Files
empty
Cookies
empty
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_LENGTH
7010
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_ACCEPT
*/*
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_content
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
2058
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_content
SCRIPT_NAME
/index.php
CONTENT_LENGTH
7010
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
POST
QUERY_STRING
s=/api/index/fanyi_article_content
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732293366.5943
REQUEST_TIME
1732293366
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732293366.5948
THINK_START_MEM
426872
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
<script> var LINE = 220; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })(); </script>

以上是 System Error /* Base */ body { color: #333; font: 14px Verdana, 'Helvetica Neue', helvetica, Arial, 'Microsoft YaHei', sans-serif; margin: 0; padding: 0 20px 20px; word-break: break-word; } h1{ margin: 10px 0 0; font-size: 28px; font-weight: 500; line-height: 32px; } h2{ color: #4288ce; font-weight: 400; padding: 6px 0; margin: 6px 0 0; font-size: 18px; border-bottom: 1px solid #eee; } h3.subheading { color: #4288ce; margin: 6px 0 0; font-weight: 400; } h3{ margin: 12px; font-size: 16px; font-weight: bold; } abbr{ cursor: help; text-decoration: underline; text-decoration-style: dotted; } a{ color: #868686; cursor: pointer; } a:hover{ text-decoration: underline; } .line-error{ background: #f8cbcb; } .echo table { width: 100%; } .echo pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border: 0; border-radius: 3px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } .echo pre > pre { padding: 0; margin: 0; } /* Layout */ .col-md-3 { width: 25%; } .col-md-9 { width: 75%; } [class^='col-md-'] { float: left; } .clearfix { clear:both; } @media only screen and (min-device-width : 375px) and (max-device-width : 667px) { .col-md-3, .col-md-9 { width: 100%; } } /* Exception Info */ .exception { margin-top: 20px; } .exception .message{ padding: 12px; border: 1px solid #ddd; border-bottom: 0 none; line-height: 18px; font-size:16px; border-top-left-radius: 4px; border-top-right-radius: 4px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .code{ float: left; text-align: center; color: #fff; margin-right: 12px; padding: 16px; border-radius: 4px; background: #999; } .exception .source-code{ padding: 6px; border: 1px solid #ddd; background: #f9f9f9; overflow-x: auto; } .exception .source-code pre{ margin: 0; } .exception .source-code pre ol{ margin: 0; color: #4288ce; display: inline-block; min-width: 100%; box-sizing: border-box; font-size:14px; font-family: 'Century Gothic',Consolas,'Liberation Mono',Courier,Verdana; padding-left: 56px; } .exception .source-code pre li{ border-left: 1px solid #ddd; height: 18px; line-height: 18px; } .exception .source-code pre code{ color: #333; height: 100%; display: inline-block; border-left: 1px solid #fff; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace{ padding: 6px; border: 1px solid #ddd; border-top: 0 none; line-height: 16px; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace ol{ margin: 12px; } .exception .trace ol li{ padding: 2px 4px; } .exception div:last-child{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } /* Exception Variables */ .exception-var table{ width: 100%; margin: 12px 0; box-sizing: border-box; table-layout:fixed; word-wrap:break-word; } .exception-var table caption{ text-align: left; font-size: 16px; font-weight: bold; padding: 6px 0; } .exception-var table caption small{ font-weight: 300; display: inline-block; margin-left: 10px; color: #ccc; } .exception-var table tbody{ font-size: 13px; font-family: Consolas,'Liberation Mono',Courier,'微软雅黑'; } .exception-var table td{ padding: 0 6px; vertical-align: top; word-break: break-all; } .exception-var table td:first-child{ width: 28%; font-weight: bold; white-space: nowrap; } .exception-var table td pre{ margin: 0; } /* Copyright Info */ .copyright{ margin-top: 24px; padding: 12px 0; border-top: 1px solid #eee; } /* SPAN elements with the classes below are added by prettyprint. */ pre.prettyprint .pln { color: #000 } /* plain text */ pre.prettyprint .str { color: #080 } /* string content */ pre.prettyprint .kwd { color: #008 } /* a keyword */ pre.prettyprint .com { color: #800 } /* a comment */ pre.prettyprint .typ { color: #606 } /* a type name */ pre.prettyprint .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 } pre.prettyprint .tag { color: #008 } /* a markup tag name */ pre.prettyprint .atn { color: #606 } /* a markup attribute name */ pre.prettyprint .atv { color: #080 } /* a markup attribute value */ pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */ pre.prettyprint .fun { color: red } /* a function name */ [0] ThrowableError in Index.php line 220 语法解析错误: syntax error, unexpected '}' if($res){ return json_encode(array('code'=>1,'msg'=>'成功')); }else{ return json_encode(array('code'=>0,'msg'=>'失败')); } } public function } Call Stack in Index.php line 220 at think\__include_file() in Loader.php line 85 at Loader::autoload() at spl_autoload_call() at class_exists() in Loader.php line 478 at Loader::controller() in App.php line 580 at App::module() in App.php line 456 at App::exec() in App.php line 139 at App::run() in start.php line 19 at require('/data/wwwroot/td.880...') in index.php line 23 Environment Variables GET Data content 鸣潮: Camellya Build Guide to zh-cn POST Data empty Files empty Cookies myip 65.21.47.162 Session empty Server/Request Data TEMP /tmp TMPDIR /tmp TMP /tmp PATH /usr/local/bin:/usr/bin:/bin USER www HOME /home/www HTTP_CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 HTTP_CONNECTION Keep-Alive HTTP_COOKIE myip=65.21.47.162 HTTP_ACCEPT_ENCODING gzip HTTP_ACCEPT */* HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1) HTTP_HOST td.880772.xyz PATH_INFO /api/index/fanyi_article_title REDIRECT_STATUS 200 SERVER_NAME td.880772.xyz SERVER_PORT 443 SERVER_ADDR 188.165.242.95 REMOTE_PORT 28230 REMOTE_ADDR 65.21.47.162 SERVER_SOFTWARE nginx/1.20.2 GATEWAY_INTERFACE CGI/1.1 HTTPS on REQUEST_SCHEME https SERVER_PROTOCOL HTTP/1.1 DOCUMENT_ROOT /data/wwwroot/td.880772.xyz/public DOCUMENT_URI /index.php REQUEST_URI /api/index/fanyi_article_title?content=Wuthering+Waves%3A+Camellya+Build+Guide&to=zh-cn SCRIPT_NAME /index.php CONTENT_LENGTH CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 REQUEST_METHOD GET QUERY_STRING s=/api/index/fanyi_article_title&content=Wuthering+Waves%3A+Camellya+Build+Guide&to=zh-cn SCRIPT_FILENAME /data/wwwroot/td.880772.xyz/public/index.php PHP_VALUE open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/ FCGI_ROLE RESPONDER PHP_SELF /index.php REQUEST_TIME_FLOAT 1732293376.381 REQUEST_TIME 1732293376 Environment Variables empty ThinkPHP Constants PUBLIC_PATH /data/wwwroot/td.880772.xyz/public/../public/ APP_PATH /data/wwwroot/td.880772.xyz/public/../application/ THINK_VERSION 5.0.24 THINK_START_TIME 1732293376.3815 THINK_START_MEM 410128 EXT .php DS / THINK_PATH /data/wwwroot/td.880772.xyz/thinkphp/ LIB_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/ CORE_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/think/ TRAIT_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/traits/ ROOT_PATH /data/wwwroot/td.880772.xyz/ EXTEND_PATH /data/wwwroot/td.880772.xyz/extend/ VENDOR_PATH /data/wwwroot/td.880772.xyz/vendor/ RUNTIME_PATH /data/wwwroot/td.880772.xyz/runtime/ LOG_PATH /data/wwwroot/td.880772.xyz/runtime/log/ CACHE_PATH /data/wwwroot/td.880772.xyz/runtime/cache/ TEMP_PATH /data/wwwroot/td.880772.xyz/runtime/temp/ CONF_PATH /data/wwwroot/td.880772.xyz/public/../application/ CONF_EXT .php ENV_PREFIX PHP_ IS_CLI false IS_WIN false FILTER_VALIDATE_BOOL 258 ADDON_PATH /data/wwwroot/td.880772.xyz/addons/ ThinkPHP V5.0.24 { 十年磨一剑-为API开发设计的高性能框架 } var LINE = 220; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })(); 的详细内容。更多信息请关注PHP中文网其他相关文章!

声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
第一个狂战士:喀山 - 曲棍球演练第一个狂战士:喀山 - 曲棍球演练Apr 13, 2025 am 04:08 AM

第一个狂战士中的侧面任务“ lacrima”:卡赞是击败Trokka之后可获得的有趣挑战。 通过佩尔·洛斯(Pell Los)的光谱门户心脏启动它,选择湖城湖城(Lake Aldevir),然后选择lacrima。 准备与

Pokemon GO:陪练伙伴突袭日指南Pokemon GO:陪练伙伴突袭日指南Apr 13, 2025 am 04:07 AM

为PokémonGoshather伙伴袭击日做准备!这项为期一天的活动从2025年4月13日星期日的当地时间下午2点到下午5点,重点是战斗型神奇宝贝。 为增强的相遇和令人兴奋的奖励做准备! 精选神奇宝贝和

漫威竞争对手:艾玛·弗罗斯特英雄指南漫威竞争对手:艾玛·弗罗斯特英雄指南Apr 13, 2025 am 02:08 AM

漫威竞争对手第2季推出了强大的先锋队Emma Frost。 本指南详细介绍了如何掌握自己的能力并统治战场。 尽管Vanguard的角色带来了挑战,但艾玛·弗罗斯特(Emma Frost)的受欢迎程度是不可否认的。 本指南专业人士

蓝王子:公用事业壁橱保险箱拼图指南蓝王子:公用事业壁橱保险箱拼图指南Apr 13, 2025 am 02:07 AM

解决蓝色王子公用壁橱保险箱难题:逐步指南 Blue Prince中的实用壁橱保险箱难题是涉及V.A.C.的复杂挑战。具有变色指示器的系统。 反复试验将无法正常工作;您需要线索

漫威竞争对手:如何反击艾玛·弗罗斯特漫威竞争对手:如何反击艾玛·弗罗斯特Apr 13, 2025 am 02:06 AM

漫威竞争对手的第一位女性先锋队艾玛·弗罗斯特(Emma Frost)是一个强大的对手,由于她的多功能和优势套件,其选拔率很高。 她召唤盾牌并过渡到强大的近战形式的能力使她成为一个具有挑战性的敌人。但是,底漆

NYT Strands答案和提示 -  2025年4月13日解决方案#407NYT Strands答案和提示 - 2025年4月13日解决方案#407Apr 13, 2025 am 02:05 AM

卡在今天的链难题中?不要烦恼! 如果您努力寻找正确的单词,则本指南提供了提示和完整的解决方案。 让我们回到正轨,并确保那些吹牛的权利安全! 该有用的指南提供线索,提示,

Yu-Gi-Oh!:看命令Yu-Gi-Oh!:看命令Apr 13, 2025 am 02:03 AM

庞大的Yu-Gi-Oh!动漫宇宙在11部电视连续剧和4部电影中拥有超过1000集。 导航这一广阔的景观可能令人生畏,因此本指南提供了两种观看选项:发布顺序和按时间顺序排列。 许多系列是S

Xenoblade Chronicles X:权威版 - 如何增加Frontiernav MiraniumXenoblade Chronicles X:权威版 - 如何增加Frontiernav MiraniumApr 13, 2025 am 02:02 AM

Xenoblade Chronicles X: Definitive Edition货币获取指南:最大化米拉矿石收入 在《异度神剑X:决定版》中,主要有两种货币:米拉矿石(Miranium)和信用点(Credits)。信用点是游戏中常用的货币,用于在商店购买物品,也是出售物资获得的货币。米拉矿石是一种从米拉星球开采的原材料,用于各种制作和Skells的燃料补给。 米拉矿石作为米拉星球的原材料,需要使用FrontierNav进行开采。FrontierNav是获取米拉矿石的唯一途径,因此,如果您想

See all articles

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

AI Hentai Generator

AI Hentai Generator

免费生成ai无尽的。

热门文章

R.E.P.O.能量晶体解释及其做什么(黄色晶体)
3 周前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳图形设置
3 周前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您听不到任何人,如何修复音频
3 周前By尊渡假赌尊渡假赌尊渡假赌
WWE 2K25:如何解锁Myrise中的所有内容
4 周前By尊渡假赌尊渡假赌尊渡假赌

热工具

螳螂BT

螳螂BT

Mantis是一个易于部署的基于Web的缺陷跟踪工具,用于帮助产品缺陷跟踪。它需要PHP、MySQL和一个Web服务器。请查看我们的演示和托管服务。

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器

MinGW - 适用于 Windows 的极简 GNU

MinGW - 适用于 Windows 的极简 GNU

这个项目正在迁移到osdn.net/projects/mingw的过程中,你可以继续在那里关注我们。MinGW:GNU编译器集合(GCC)的本地Windows移植版本,可自由分发的导入库和用于构建本地Windows应用程序的头文件;包括对MSVC运行时的扩展,以支持C99功能。MinGW的所有软件都可以在64位Windows平台上运行。

PhpStorm Mac 版本

PhpStorm Mac 版本

最新(2018.2.1 )专业的PHP集成开发工具

SublimeText3汉化版

SublimeText3汉化版

中文版,非常好用