摘要:
访问/pulibc路径 如果controller中定义了GetPublic方法,会执行这个方法,否则会被当做访问静态文件/public/index.html处理 阅读全文
摘要:
datamodels/user.go package datamodels type User struct { UserId int64 `json:"user_id" xorm:"not null pk autoincr BIGINT(20)"` Name string `json:"name" 阅读全文