GET https://cloud.shiyuanai.com/api/course/2

CourseController :: find

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\Api\CourseController::find"
_firewall_context
"security.firewall.map.context.main"
_route
"api_course_find"
_route_params
[
  "id" => "2"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"f997c1"
id
"2"

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"zh-CN,zh;q=0.9,zh-TW;q=0.8,zh-HK;q=0.7,en-US;q=0.6,en;q=0.5"
content-length
""
content-type
""
cookie
"PHPSESSID=2m5tisqo47kfsso5smkn3p4d3f; REMEMBERME=App.Entity.User%3AMTI3MDAwMDAwMDM~%3A1770790194%3AoTAX3jE11wGRD7bW40DslTjKsyYvabjlnlyMYskxFio~wF_nz2VQ1_iytkFK_fdQ_KXRNDmSxUaBdS5mriiApGE~"
host
"cloud.shiyuanai.com"
referer
"https://cloud.shiyuanai.com/order/edit/2"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
te
"trailers"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Wed, 04 Feb 2026 06:17:15 GMT"
x-debug-token
"463b6c"

Cookies

Request Cookies

Key Value
PHPSESSID
"2m5tisqo47kfsso5smkn3p4d3f"
REMEMBERME
"App.Entity.User:MTI3MDAwMDAwMDM~:1770790194:oTAX3jE11wGRD7bW40DslTjKsyYvabjlnlyMYskxFio~wF_nz2VQ1_iytkFK_fdQ_KXRNDmSxUaBdS5mriiApGE~"

Response Cookies

No response cookies

Session 2

Session Metadata

Key Value
Created
"Wed, 04 Feb 26 14:09:54 +0800"
Last used
"Wed, 04 Feb 26 14:17:14 +0800"
Lifetime
0

Session Attributes

Attribute Value
_csrf/https-course
"iRInVDt-unkxwOtI3zp6aIFLkg4DcBaM4aUzTKbLAMk"
_csrf/https-customer
"RG12eLSJQIkLfWjRW9KIgWV8I3j9spYRh7IJZuPbRRU"
_security.last_username
"12700000003"
_security.main.target_path
"https://cloud.shiyuanai.com/"
_security_main
"O:75:"Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken":2:{i:0;s:4:"main";i:1;a:5:{i:0;O:15:"App\Entity\User":12:{s:19:"\x00App\Entity\User\x00id";i:4;s:25:"\x00App\Entity\User\x00username";s:11:"12700000003";s:22:"\x00App\Entity\User\x00roles";a:1:{i:0;s:19:"ROLE_MERCHANT_ADMIN";}s:25:"\x00App\Entity\User\x00password";s:60:"$2y$13$l6sVGjwSBDuI31pO6Bow0OskKwtmJRtOgKMX8V1uxUCsHTRKta3fe";s:21:"\x00App\Entity\User\x00name";s:6:"曹操";s:23:"\x00App\Entity\User\x00mobile";s:11:"12700000003";s:26:"\x00App\Entity\User\x00createdAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-02-04 14:09:26.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"PRC";}s:26:"\x00App\Entity\User\x00updatedAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-02-04 14:09:26.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"PRC";}s:27:"\x00App\Entity\User\x00department";O:36:"Proxies\__CG__\App\Entity\Department":1:{s:25:"\x00App\Entity\Department\x00id";i:3;}s:32:"\x00App\Entity\User\x00departmentNames";s:0:"";s:30:"\x00App\Entity\User\x00departmentIds";s:0:"";s:25:"\x00App\Entity\User\x00merchant";O:34:"Proxies\__CG__\App\Entity\Merchant":1:{s:23:"\x00App\Entity\Merchant\x00id";i:3;}}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:2:{i:0;s:19:"ROLE_MERCHANT_ADMIN";i:1;s:9:"ROLE_USER";}}}"

Session Usage

2 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php"
    "line" => 64
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticator.php"
    "line" => 54
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 152
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 140
    "function" => "executeAuthenticators"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 40
    "function" => "authenticateRequest"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 65
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 46
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 73
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Firewall.php"
    "line" => 95
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 158
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/public/index.php"
    "line" => 5
    "args" => [
      "/www/wwwroot/cloud.shiyuanai.com/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:174
[
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 174
    "function" => "set"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 215
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 203
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/www/wwwroot/cloud.shiyuanai.com/public/index.php"
    "line" => 5
    "args" => [
      "/www/wwwroot/cloud.shiyuanai.com/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"48fee613a5a469a9e7e2e6620864d0d9"
DATABASE_URL
"mysql://cloud:TXKysbBWmxWGi7eM@127.0.0.1:3306/cloud?serverVersion=8.0.24&charset=utf8mb4"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/www/wwwroot/cloud.shiyuanai.com/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/www"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"zh-CN,zh;q=0.9,zh-TW;q=0.8,zh-HK;q=0.7,en-US;q=0.6,en;q=0.5"
HTTP_COOKIE
"PHPSESSID=2m5tisqo47kfsso5smkn3p4d3f; REMEMBERME=App.Entity.User%3AMTI3MDAwMDAwMDM~%3A1770790194%3AoTAX3jE11wGRD7bW40DslTjKsyYvabjlnlyMYskxFio~wF_nz2VQ1_iytkFK_fdQ_KXRNDmSxUaBdS5mriiApGE~"
HTTP_HOST
"cloud.shiyuanai.com"
HTTP_REFERER
"https://cloud.shiyuanai.com/order/edit/2"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_TE
"trailers"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"14.127.3.138"
REMOTE_PORT
"61337"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1770185834
REQUEST_TIME_FLOAT
1770185834.7536
REQUEST_URI
"/api/course/2"
SCRIPT_FILENAME
"/www/wwwroot/cloud.shiyuanai.com/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.18.174.203"
SERVER_NAME
"cloud.shiyuanai.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SOFTWARE
"nginx/1.22.1"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN"
USER
"www"