#409 bug修复
- 修改 server/model/sys_auto_code.go server/service/sys_auto_code.go server/utils/file_operations.go
This commit is contained in:
@@ -4,14 +4,14 @@ import "errors"
|
||||
|
||||
// 初始版本自动化代码工具
|
||||
type AutoCodeStruct struct {
|
||||
StructName string `json:"structName"`
|
||||
TableName string `json:"tableName"`
|
||||
PackageName string `json:"packageName"`
|
||||
Abbreviation string `json:"abbreviation"`
|
||||
Description string `json:"description"`
|
||||
AutoCreateApiToSql bool `json:"autoCreateApiToSql"`
|
||||
AutoMoveFile bool `json:"autoMoveFile"`
|
||||
Fields []Field `json:"fields"`
|
||||
StructName string `json:"structName"`
|
||||
TableName string `json:"tableName"`
|
||||
PackageName string `json:"packageName"`
|
||||
Abbreviation string `json:"abbreviation"`
|
||||
Description string `json:"description"`
|
||||
AutoCreateApiToSql bool `json:"autoCreateApiToSql"`
|
||||
AutoMoveFile bool `json:"autoMoveFile"`
|
||||
Fields []*Field `json:"fields"`
|
||||
}
|
||||
|
||||
type Field struct {
|
||||
|
Reference in New Issue
Block a user