我在控制器中有一个看起来像这样的函数
void function edit(required struct rc) output="false" {
...
if (...) {
ArrayAppend(rc.message, "<b>Error:</b> Something did not work right.");
variables.fw.redirect(".home", "all");
return; // ?
}
}
我需要return
还是重定向是否意味着返回?