types 参数指定清理范围:all:清空整个缓存存储(默认)settings:仅清理系统配置缓存all 时,会执行 Cache::flush() 清空所有缓存,并重新加载系统配置。Authorization: Bearer ********************{
"types": [
"all"
]
}curl --location 'http://prod-cn.your-api-server.com/admin/cache/clear' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"types": [
"all"
]
}'{
"message": "string",
"types": [
"all"
]
}