category article name heat update time
[CSS Tutorial]How Can I Make a DIV Element Extend to the Bottom of the Page Without Using Content? 590 2024-11-23
[Python Tutorial]How to Center Labels in a Stacked Bar Chart? 641 2024-11-23
[javaTutorial]How Can I Request Administrator Privileges in Java Without Using the 'Run as Administrator' Option? 947 2024-11-23
[javaTutorial]How to Solve the LazyInitializationException in Hibernate? 519 2024-11-23
[CSS Tutorial]How Can I Style Radio Buttons to Look Like Buttons Using Only CSS? 385 2024-11-23
[CSS Tutorial]Why Aren't My Stylesheet Changes Reflecting After Reloading the Website? 311 2024-11-23
[C++]How to Optimize Parameter Passing in C : Lvalues, Rvalues, and Best Practices? 444 2024-11-23
[Mysql Tutorial]How to Perform a Keyword Search Across Multiple Tables in MySQL and Identify the Table of Origin? 872 2024-11-23
[JS Tutorial]How Can I Efficiently Pad Strings in JavaScript? 835 2024-11-23
[javaTutorial]How to Display a JavaBean\'s List Data in a Jasper Report\'s Detail Band? 139 2024-11-23
[Golang]Why Does My CircleCI Go Build Fail with \'agent key RSA SHA256: ... returned incorrect signature type\'? 606 2024-11-23
[Mobile Game Guide] System Error

语法解析错误: 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
魔兽世界宏伟宝库玩法详细介绍
to
en
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
24920
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=%E9%AD%94%E5%85%BD%E4%B8%96%E7%95%8C%E5%AE%8F%E4%BC%9F%E5%AE%9D%E5%BA%93%E7%8E%A9%E6%B3%95%E8%AF%A6%E7%BB%86%E4%BB%8B%E7%BB%8D&to=en
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=%E9%AD%94%E5%85%BD%E4%B8%96%E7%95%8C%E5%AE%8F%E4%BC%9F%E5%AE%9D%E5%BA%93%E7%8E%A9%E6%B3%95%E8%AF%A6%E7%BB%86%E4%BB%8B%E7%BB%8D&to=en
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
1732336203.7943
REQUEST_TIME
1732336203
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
1732336203.7948
THINK_START_MEM
410160
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/
900 2024-11-23
[CSS Tutorial]How to Create Inverted Scooped Corners in CSS Using Box-Shadow? 370 2024-11-23
[javaTutorial]How to Parse XML into an Array of Strings Using SAX Parsers? 660 2024-11-23
[CSS Tutorial]How Can I Create and Style Circles Using HTML5 and CSS3? 511 2024-11-23
[JS Tutorial]How Can __doPostBack() Enable Asynchronous Postbacks in ASP.NET? 140 2024-11-23
[Mysql Tutorial]How Can I Dynamically Select Data from Different Tables Using MySQL Stored Procedures? 591 2024-11-23
[Golang]How to Handle Unknown XML Attributes During Unmarshalling in Go? 905 2024-11-23
[C++]Why does printing `wchar_t` values to the console result in hexadecimal addresses instead of characters? 864 2024-11-23
[CSS Tutorial]How Can I Perfectly Center an Element in a Browser Window Using CSS? 507 2024-11-23
[Python Tutorial]How to Sort a List in Descending Order in Python? 831 2024-11-23
[JS Tutorial]Why Doesn\'t My Injected `` Tag Execute After an AJAX Call? 796 2024-11-23
[Python Tutorial]How do I Guarantee Rounding Up Numbers in Python? 271 2024-11-23
[javaTutorial]How Can I Preserve JSON Key Order When Converting to CSV? 818 2024-11-23
[Mysql Tutorial]How to Fix the \'Incompatible with sql_mode=only_full_group_by\' Error in Laravel Eloquent? 308 2024-11-23
[CSS Tutorial]How to Prevent Centering of the Last Flex Items When Using Flexbox Wrap? 581 2024-11-23
[JS Tutorial]Does JavaScript Still Work in Email Messages? 463 2024-11-23
[Mysql Tutorial]How to Resolve \'Incorrect String Value\' Errors When Inserting Emojis into a MySQL Database in Java? 267 2024-11-23
[Python Tutorial]How to Efficiently Remove a List Element by Value in Python? 784 2024-11-23
[Mysql Tutorial]How to Add Multiple Columns After a Specific Column in MySQL? 174 2024-11-23
[Python Tutorial]What are the `args` and `kwargs` conventions in Python, and how do they enhance code flexibility? 132 2024-11-23
[Golang]How Can I Programmatically Get the String Representation of a Go Type Without Instantiation? 377 2024-11-23
[Golang]How do I Get the File Length in Go? 634 2024-11-23
[C++]Can We Get the Address of a Reference in C ? 710 2024-11-23
[CSS Tutorial]How to Replicate Pinterest's Responsive Div Stacking Layout? 464 2024-11-23
[JS Tutorial]The difference between Error and Exception in JavaScript 1006 2024-11-23
[Mysql Tutorial]Why Am I Getting the \'Field \'id\' Doesn\'t Have a Default Value\' Error in MySQL? 773 2024-11-23
[Python Tutorial]How Can Python Efficiently Check for Palindromes and Optimize Related Calculations? 506 2024-11-23
[CSS Tutorial]How Can I Prevent Watermark Text from Being Selected in a Textarea? 532 2024-11-23
[Python Tutorial]Write a program for SSLC Mark Percentage Calculator 164 2024-11-23
[Mysql Tutorial]How Can I Handle Pre-1970 Dates with PHP\'s `strtotime()` and Alternatives? 171 2024-11-23
[javaTutorial]How to Convert an Integer to a Byte Array in Java? 575 2024-11-23
[Mysql Tutorial]How to Order MySQL Results Using the IN() Method and Maintain Order? 925 2024-11-23
[Golang]When and Why Should You Use io/ioutil NopCloser in Go? 558 2024-11-23
[Mysql Tutorial]Why Does MySQL Treat `localhost` and `127.0.0.1` Differently When Granting Privileges? 771 2024-11-23
[JS Tutorial]My Portfolio: A Showcase of Web Development Skills with Next.js & Redux 541 2024-11-23
[Golang]Why Do Go\'s Interface Setter Methods Require Pointers? 134 2024-11-23
[Mobile Game Guide] System Error

语法解析错误: 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
Farming Simulator 25: How To Grow Potatoes
to
en
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
49448
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=Farming+Simulator+25%3A+How+To+Grow+Potatoes&to=en
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=Farming+Simulator+25%3A+How+To+Grow+Potatoes&to=en
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
1732332838.52
REQUEST_TIME
1732332838
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
1732332838.5204
THINK_START_MEM
410160
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/
795 2024-11-23
[JS Tutorial]How do I Determine the Newline Character Recognized by My Platform in JavaScript? 220 2024-11-23
[javaTutorial]How to Switch Between Browser Windows Using Selenium WebDriver After a Button Click? 976 2024-11-23