mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-02 20:00:26 +08:00
19 lines
314 B
Go
19 lines
314 B
Go
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")
|
|
}
|