mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-04-24 13:15:20 +08:00
refactor: 后端路由定义方式&请求参数绑定重构
This commit is contained in:
@@ -3,7 +3,7 @@ package entity
|
||||
import "time"
|
||||
|
||||
// 系统操作日志
|
||||
type Syslog struct {
|
||||
type SysLog struct {
|
||||
Id uint64 `json:"id"`
|
||||
CreateTime time.Time `json:"createTime"`
|
||||
CreatorId uint64 `json:"creatorId"`
|
||||
@@ -15,7 +15,7 @@ type Syslog struct {
|
||||
Resp string `json:"resp"` // 响应结构
|
||||
}
|
||||
|
||||
func (a *Syslog) TableName() string {
|
||||
func (a *SysLog) TableName() string {
|
||||
return "t_sys_log"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user