mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
update
This commit is contained in:
parent
6d228b09eb
commit
fcbfda7c40
7
lib/Tpl/common.js
Normal file
7
lib/Tpl/common.js
Normal file
@ -0,0 +1,7 @@
|
||||
//这里定义一些全局通用的函数,该文件会被自动加载
|
||||
/**
|
||||
* //返回首页
|
||||
* global.return_home = function(group, controller, http){
|
||||
* http.redirect("/");
|
||||
* }
|
||||
*/
|
||||
Loading…
x
Reference in New Issue
Block a user