This commit is contained in:
welefen 2013-11-27 09:59:36 +08:00
parent 6d228b09eb
commit fcbfda7c40

7
lib/Tpl/common.js Normal file
View File

@ -0,0 +1,7 @@
//这里定义一些全局通用的函数,该文件会被自动加载
/**
* //返回首页
* global.return_home = function(group, controller, http){
* http.redirect("/");
* }
*/