初始化

This commit is contained in:
刘祥超
2020-07-22 09:59:40 +08:00
commit 795c30b95e
33 changed files with 14561 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package index
import (
"github.com/iwind/TeaGo/actions"
stringutil "github.com/iwind/TeaGo/utils/string"
)
type IndexAction actions.Action
// 首页(登录页)
var TokenSalt = stringutil.Rand(32)
func (this *IndexAction) RunGet(params struct {
From string
}) {
this.WriteString("Hello, i am index")
}