SliverHorn
4 years ago
6 changed files with 27 additions and 27 deletions
-
8server/api/v1/sys_auto_code.go
-
12server/model/request/sys_autocode.go
-
2server/router/sys_auto_code.go
-
6server/service/sys_auto_code.go
-
4web/src/api/autoCode.js
-
22web/src/view/systemTools/autoCode/index.vue
@ -1,16 +1,16 @@ |
|||||
package request |
package request |
||||
|
|
||||
type DBReq struct { |
type DBReq struct { |
||||
Database string `json:"database";gorm:"column:database"` |
|
||||
|
Database string `json:"database" gorm:"column:database"` |
||||
} |
} |
||||
|
|
||||
type TableReq struct { |
type TableReq struct { |
||||
TableName string `json:"tableName"` |
TableName string `json:"tableName"` |
||||
} |
} |
||||
|
|
||||
type ColumeReq struct { |
|
||||
ColumeName string `json:"columeName";gorm:"column:colume_name"` |
|
||||
DataType string `json:"dataType";gorm:"column:data_type"` |
|
||||
DataTypeLong string `json:"dataTypeLong";gorm:"column:data_type_long"` |
|
||||
ColumeComment string `json:"columeComment";gorm:"column:colume_comment"` |
|
||||
|
type ColumnReq struct { |
||||
|
ColumnName string `json:"columnName" gorm:"column:column_name"` |
||||
|
DataType string `json:"dataType" gorm:"column:data_type"` |
||||
|
DataTypeLong string `json:"dataTypeLong" gorm:"column:data_type_long"` |
||||
|
ColumnComment string `json:"columnComment" gorm:"column:column_comment"` |
||||
} |
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue