Fix:增加缺少的备注字段
This commit is contained in:
1 parent
e6899d26bc
commit
7642e0d1ea
4 files changed
+10
No files matched your search
@@ -8974,6 +8974,9 @@ const docTemplate = `{
|
||||
"price_description": {
|
||||
"type": "string"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
},
|
||||
"sort_order": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
||||
@@ -8971,6 +8971,9 @@
|
||||
"price_description": {
|
||||
"type": "string"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
},
|
||||
"sort_order": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
||||
@@ -2024,6 +2024,8 @@ definitions:
|
||||
type: number
|
||||
price_description:
|
||||
type: string
|
||||
remark:
|
||||
type: string
|
||||
sort_order:
|
||||
type: integer
|
||||
status:
|
||||
|
||||
@@ -74,6 +74,7 @@ func (p *Package) ToResponse() *PackageResponse {
|
||||
Features: p.Features,
|
||||
Status: p.Status,
|
||||
SortOrder: p.SortOrder,
|
||||
Remark: p.Remark,
|
||||
CreatedAt: p.CreatedAt,
|
||||
UpdatedAt: p.UpdatedAt,
|
||||
}
|
||||
@@ -91,6 +92,7 @@ type PackageResponse struct {
|
||||
Features string `json:"features"`
|
||||
Status int `json:"status"`
|
||||
SortOrder int `json:"sort_order"`
|
||||
Remark string `json:"remark"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user