web.url

web.url

web.url

功能

读取当前请求路径。

语法

参数

无参数。

返回值

类型说明
String返回去掉开头 / 的路径字符串。

示例

注意事项

  • 根路径 / 返回空字符串。