[0] ThrowableError in Index.php line 14

语法解析错误: syntax error, unexpected '/', expecting end of file

  1. use app\admin\model\Request;
  2. use app\admin\model\Template;
  3. use app\admin\model\Goodtemplate;
  4. use app\common\controller\Api;
  5. use think\cache\driver\Redis;
  6. use app\admin\model\Relog;
  7. /**
  8. * 首页接口
  9. *//
  10. class Index extends Base
  11. {
  12. protected $noNeedLogin = ['*'];
  13. protected $noNeedRight = ['*'];
  14. public function index()
  15. {
  16. return 'hello';

Call Stack

  1. in Index.php line 14
  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('/www/wwwroot/www/thi...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

payload
{"domain":"https:\/\/colourandworks.com","uri":"\/blanket\/list\/0-7870\/","server":{"HTTP_REFERER":"","HTTP_USER_AGENT":"CCBot\/2.0 (https:\/\/commoncrawl.org\/faq\/)","HTTP_ACCEPT_LANGUAGE":"en-US,en;q=0.5","REMOTE_ADDR":"100.28.2.72"},"request":[]}
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CF_IPCOUNTRY
GB
HTTP_CDN_LOOP
cloudflare
HTTP_CF_CONNECTING_IP
2a03:b0c0:1:d0::1191:6001
HTTP_CONTENT_TYPE
multipart/form-data; boundary=------------------------0b0b766384c8c0dd
HTTP_ACCEPT
*/*
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_X_FORWARDED_PROTO
https
HTTP_CONTENT_LENGTH
393
HTTP_CF_RAY
89619e3ebe180702-LHR
HTTP_X_FORWARDED_FOR
2a03:b0c0:1:d0::1191:6001
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.wordprass.org
PATH_INFO
/contentdefi
REDIRECT_STATUS
200
SERVER_NAME
www.wordprass.org
SERVER_PORT
80
SERVER_ADDR
45.63.5.191
REMOTE_PORT
24042
REMOTE_ADDR
141.101.99.6
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www/public
DOCUMENT_URI
/index.php
REQUEST_URI
/contentdefi
SCRIPT_NAME
/index.php
CONTENT_LENGTH
393
CONTENT_TYPE
multipart/form-data; boundary=------------------------0b0b766384c8c0dd
REQUEST_METHOD
POST
QUERY_STRING
s=/contentdefi
SCRIPT_FILENAME
/www/wwwroot/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1718780175.196
REQUEST_TIME
1718780175
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1718780175.1976
THINK_START_MEM
410248
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www/thinkphp/
LIB_PATH
/www/wwwroot/www/thinkphp/library/
CORE_PATH
/www/wwwroot/www/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www/
EXTEND_PATH
/www/wwwroot/www/extend/
VENDOR_PATH
/www/wwwroot/www/vendor/
RUNTIME_PATH
/www/wwwroot/www/runtime/
LOG_PATH
/www/wwwroot/www/runtime/log/
CACHE_PATH
/www/wwwroot/www/runtime/cache/
TEMP_PATH
/www/wwwroot/www/runtime/temp/
CONF_PATH
/www/wwwroot/www/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
/www/wwwroot/www/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/www/addons/