Commit f743db21 authored by James's avatar James
Browse files

添加 getControllerKey(),兼容老版本

parent a5f56c43
Showing with 9 additions and 1 deletion
+9 -1
......@@ -277,7 +277,15 @@ public abstract class Routes {
public String getControllerPath() {
return controllerPath;
}
/**
* 已更名为 getControllerPath()
*/
@Deprecated
public String getControllerKey() {
return controllerPath;
}
public Class<? extends Controller> getControllerClass() {
return controllerClass;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment