修正返回数据大小写问题
This commit is contained in:
@@ -4,8 +4,8 @@ package model
|
||||
type AdminMenuApi struct {
|
||||
MenuId int64 `gorm:"column:menu_id;type:bigint(19);comment:菜单id" json:"menu_id"`
|
||||
ApiId int64 `gorm:"column:api_id;type:bigint(19);comment:接口id" json:"api_id"`
|
||||
Menu AdminMenu `gorm:"foreignkey:MenuId;association_foreignkey:MenuID"`
|
||||
API AdminAPI `gorm:"foreignkey:ApiId;association_foreignkey:APIID"`
|
||||
Menu AdminMenu `gorm:"foreignkey:MenuId;association_foreignkey:MenuID" json:"menu"`
|
||||
API AdminAPI `gorm:"foreignkey:ApiId;association_foreignkey:APIID" json:"api"`
|
||||
}
|
||||
|
||||
func (m *AdminMenuApi) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user