播放路线中的“ @”是什么意思?

问题描述

样本路由文件

    GET     /test/api/chrome-extension-version     controllers.API.getChromeExtensionVersion()
    
    GET     /test/common/cache/config     @controllers.CommonController.updateConfigCache()

该应用程序是用Play 2.2.3编写的。 “ @”的含义和以上两个函数调用间的区别是什么?

解决方法

我认为这与@符号告诉它从您所在的位置的当前路径之外有关。