You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
318 B
20 lines
318 B
package app
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/ouxuanserver/osmanthuswine/src/core"
|
|
)
|
|
|
|
type Ctltest struct {
|
|
core.Controller
|
|
}
|
|
|
|
func (that *Ctltest) Prepare() {
|
|
//该方法会在Method执行前调用,用户扩展类似校验登陆
|
|
log.Println("Prepare")
|
|
}
|
|
|
|
func (that *Ctltest) Test() {
|
|
that.DisplayByData("test")
|
|
}
|