category article name heat update time
[PHP Tutorial]Why does mysqli_query() require a MySQLi object as its first parameter? 256 2024-11-23
[Golang]How Can I Securely Store and Access Private Keys for JWTs in Google App Engine? 332 2024-11-23
[PHP Tutorial]How Can I Edit PDFs Using Open-Source Tools and PHP? 579 2024-11-23
[CSS Tutorial]Why Does a Transparent Border Break My Gradient Background, and How Can I Fix It? 447 2024-11-23
[Golang]How to Correctly Parse Time Strings in Go with Time Zones? 344 2024-11-23
[Python Tutorial]Solution for \'DLL Load Failed Due to Absence of Wheel for sqlcipheruot; Error 687 2024-11-23
[CSS Tutorial]How Can I Stretch Text to Fill a Div\'s Width Using CSS? 899 2024-11-23
[Python Tutorial]CamOver — tool for exploiting vulnerabilities in network cameras 942 2024-11-23
[Mysql Tutorial]Why is My MySQL Instance on Amazon EC2 Micro Aborting Start with \'InnoDB: mmap (x bytes) failed; errno 12\'? 878 2024-11-23
[Golang]How Can I Effectively Port C\'s `ioctl()` Function to Go, Specifically Addressing Memory Management Issues? 951 2024-11-23
[Troubleshooting]New Features & Fixes for Windows 11 KB5046633 Not Installing 841 2024-11-23
[PHP Tutorial]Why Does PHP 5.6 Issue a Deprecation Warning for `$HTTP_RAW_POST_DATA` and How Can I Fix It? 457 2024-11-23
[JS Tutorial]How Do I Access JSON Properties Containing Dashes in JavaScript? 583 2024-11-23
[C++]Why Did C 11 Enable In-Class Initialization for Non-Static Members? 656 2024-11-23
[C++]How Can I Initialize a Dynamically Sized Bitset in C ? 299 2024-11-23
[Python Tutorial]Named Tuples in Python: what type are they? 802 2024-11-23
[Mysql Tutorial]Why am I getting a NullPointerException when connecting to MySQL from Java? 148 2024-11-23
[JS Tutorial]JavaScript Learning Resources: Your Gateway to Modern Web Development 802 2024-11-23
[Golang]How to Sort Go Struct Fields Alphabetically When Printing? 996 2024-11-23
[C++]What\'s the Real Difference Between `static const` and `const` in C ? 238 2024-11-23
[PHP Tutorial]How to Set Up a PHP Development Environment in VS Code with Docker Desktop A Step-by-Step Guide 287 2024-11-23
[PHP Tutorial]How Can I Securely Implement and Optimize User Authentication in My Login Script? 617 2024-11-23
[JS Tutorial]How can I determine the file size and dimensions of an image using JavaScript? 887 2024-11-23
[Golang]How to Fix Column Count Mismatches in GORM Bulk Inserts? 958 2024-11-23
[JS Tutorial]How Can I Interrupt HTTP Fetch Requests in JavaScript? 1004 2024-11-23
[C++]Is Visual Studio the Unrivalled Choice for C Development on Windows? 536 2024-11-23
[CSS Tutorial]How to Add Horizontal Scrolling to HTML Tables? 947 2024-11-23
[JS Tutorial]How to Share $scope Data Between States in AngularJS UI-Router Without Services? 380 2024-11-23
[PHP Tutorial]How do Namespaces in PHP Help Avoid Naming Conflicts? 561 2024-11-23
[CSS Tutorial]How to Avoid jQuery Conflicts When Using PrimeFaces? 420 2024-11-23
[Python Tutorial]Should You Name Anonymous Lambda Functions in Python? 337 2024-11-23
[Python Tutorial]How to Handle MultiValueDictKeyError in Django When a Checkbox is Unchecked? 453 2024-11-23
[javaTutorial]Why Use StringBuilder When String Can Already Append Characters? 496 2024-11-23
[CSS Tutorial]How Can You Achieve Equal Height Columns Using Pure CSS? 475 2024-11-23
[CSS Tutorial]How Can I Add Alt Text to CSS Background Images? 880 2024-11-23
[C++]Is Calling `c_str()` on a Function\'s Returned String Always Safe? 401 2024-11-23
[C++]How to Safely Erase Elements from an STL Container Using a Reverse Iterator? 413 2024-11-23
[PHP Tutorial]How to Upload Multiple Files Using jQuery, AJAX, and PHP? 360 2024-11-23
[Mysql Tutorial]How Can I Display MySQL Error Messages for Complex Queries in PHP? 246 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
Call Of Duty: Black Ops 6 - Best GS45 Loadouts
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
29506
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=Call+Of+Duty%3A+Black+Ops+6+-+Best+GS45+Loadouts&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=Call+Of+Duty%3A+Black+Ops+6+-+Best+GS45+Loadouts&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
1732309059.6724
REQUEST_TIME
1732309059
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
1732309059.673
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/
173 2024-11-23
[Golang]When Should You Choose %d Over %v for Printing Variables in Go? 183 2024-11-23
[CSS Tutorial]Can HTML5 and CSS3 Really Draw Circles? 976 2024-11-23
[Mysql Tutorial]Can I Use the Django Database API Outside of a Django Project? 550 2024-11-23
[C++]Can I Use Ranges in Case Statements in a C Switch Statement? 313 2024-11-23
[Python Tutorial]How to Ping Websites and IP Addresses with Python? 133 2024-11-23
[javaTutorial]How to Convert Dates Without Using Deprecated `SimpleDateFormat` Classes? 347 2024-11-23
[C++]Why Are String Literals Considered L-Values in C and C ? 579 2024-11-23
[CSS Tutorial]How Can I Use Font Awesome Icons as CSS Content? 997 2024-11-23
[Python Tutorial]Sorted vs. List.sort(): When Should You Use Each Python Sorting Method? 1007 2024-11-23
[Python Tutorial]How Can I Pass Extra Arguments to PyQt Slot Connections? 890 2024-11-23