实现配方领域关于猪模型和营养需求的增删改查
This commit is contained in:
34
docs/docs.go
34
docs/docs.go
@@ -1826,7 +1826,6 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"enum": [
|
||||
7,
|
||||
-1,
|
||||
0,
|
||||
1,
|
||||
@@ -1836,12 +1835,12 @@ const docTemplate = `{
|
||||
5,
|
||||
-1,
|
||||
5,
|
||||
6
|
||||
6,
|
||||
7
|
||||
],
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"x-enum-varnames": [
|
||||
"_numLevels",
|
||||
"DebugLevel",
|
||||
"InfoLevel",
|
||||
"WarnLevel",
|
||||
@@ -1851,7 +1850,8 @@ const docTemplate = `{
|
||||
"FatalLevel",
|
||||
"_minLevel",
|
||||
"_maxLevel",
|
||||
"InvalidLevel"
|
||||
"InvalidLevel",
|
||||
"_numLevels"
|
||||
],
|
||||
"name": "level",
|
||||
"in": "query"
|
||||
@@ -7563,32 +7563,24 @@ const docTemplate = `{
|
||||
"models.PigBatchStatus": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"保育",
|
||||
"生长",
|
||||
"育肥",
|
||||
"生产中",
|
||||
"待售",
|
||||
"已出售",
|
||||
"已归档"
|
||||
],
|
||||
"x-enum-comments": {
|
||||
"BatchStatusActive": "饲养中",
|
||||
"BatchStatusArchived": "批次结束(如全群淘汰等)",
|
||||
"BatchStatusFinishing": "最后的育肥阶段",
|
||||
"BatchStatusForSale": "达到出栏标准",
|
||||
"BatchStatusGrowing": "生长育肥阶段",
|
||||
"BatchStatusWeaning": "从断奶到保育结束"
|
||||
"BatchStatusForSale": "达到出栏标准"
|
||||
},
|
||||
"x-enum-descriptions": [
|
||||
"从断奶到保育结束",
|
||||
"生长育肥阶段",
|
||||
"最后的育肥阶段",
|
||||
"饲养中",
|
||||
"达到出栏标准",
|
||||
"",
|
||||
"批次结束(如全群淘汰等)"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"BatchStatusWeaning",
|
||||
"BatchStatusGrowing",
|
||||
"BatchStatusFinishing",
|
||||
"BatchStatusActive",
|
||||
"BatchStatusForSale",
|
||||
"BatchStatusSold",
|
||||
"BatchStatusArchived"
|
||||
@@ -7837,7 +7829,6 @@ const docTemplate = `{
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"enum": [
|
||||
7,
|
||||
-1,
|
||||
0,
|
||||
1,
|
||||
@@ -7847,10 +7838,10 @@ const docTemplate = `{
|
||||
5,
|
||||
-1,
|
||||
5,
|
||||
6
|
||||
6,
|
||||
7
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"_numLevels",
|
||||
"DebugLevel",
|
||||
"InfoLevel",
|
||||
"WarnLevel",
|
||||
@@ -7860,7 +7851,8 @@ const docTemplate = `{
|
||||
"FatalLevel",
|
||||
"_minLevel",
|
||||
"_maxLevel",
|
||||
"InvalidLevel"
|
||||
"InvalidLevel",
|
||||
"_numLevels"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user