From 1c9d2075d7bfab1d0ad2a54885601f6ac0ded057 Mon Sep 17 00:00:00 2001 From: wenjianzhang Date: Tue, 15 Jun 2021 17:54:46 +0800 Subject: [PATCH] =?UTF-8?q?refactor=F0=9F=8E=A8=EF=BC=9A=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=92=8C=E8=A1=8C=E6=94=BF=E5=8C=BA=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/migrate/migration/models/sys_api.go | 2 +- cmd/migrate/migration/models/sys_china_area_data.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/migrate/migration/models/sys_api.go b/cmd/migrate/migration/models/sys_api.go index 1c749e1..8d75170 100644 --- a/cmd/migrate/migration/models/sys_api.go +++ b/cmd/migrate/migration/models/sys_api.go @@ -5,8 +5,8 @@ type SysApi struct { Handle string `json:"handle" gorm:"size:128;comment:handle"` Title string `json:"title" gorm:"size:128;comment:标题"` Path string `json:"path" gorm:"size:128;comment:地址"` - Action string `json:"action" gorm:"size:16;comment:请求类型"` Type string `json:"type" gorm:"size:16;comment:接口类型"` + Action string `json:"action" gorm:"size:16;comment:请求类型"` ModelTime ControlBy } diff --git a/cmd/migrate/migration/models/sys_china_area_data.go b/cmd/migrate/migration/models/sys_china_area_data.go index 277e678..1f59678 100644 --- a/cmd/migrate/migration/models/sys_china_area_data.go +++ b/cmd/migrate/migration/models/sys_china_area_data.go @@ -2,7 +2,7 @@ package models type SysChinaAreaData struct { Id int `json:"id" gorm:"primaryKey;comment:主键编码"` - PId int `json:"p_id" gorm:"size:11;comment:上级编码"` + PId int `json:"pId" gorm:"size:11;comment:上级编码"` Name string `json:"name" gorm:"size:128;comment:名称"` ControlBy ModelTime