fix(park):修复创建和修改园区的时候园区住户数量不能被保存的问题。
This commit is contained in:
parent
c4ab500235
commit
a512773f11
|
@ -69,16 +69,16 @@ func listAllParksUnderSpecificUser(c *gin.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
type _ParkInfoFormData struct {
|
type _ParkInfoFormData struct {
|
||||||
Name string `json:"name" form:"name"`
|
Name string `json:"name" form:"name"`
|
||||||
Region *string `json:"region" form:"region"`
|
Region *string `json:"region" form:"region"`
|
||||||
Address *string `json:"address" form:"address"`
|
Address *string `json:"address" form:"address"`
|
||||||
Contact *string `json:"contact" form:"contact"`
|
Contact *string `json:"contact" form:"contact"`
|
||||||
Phone *string `json:"phone" from:"phone"`
|
Phone *string `json:"phone" from:"phone"`
|
||||||
Area decimal.NullDecimal `json:"area" from:"area"`
|
Area decimal.NullDecimal `json:"area" from:"area"`
|
||||||
Capacity decimal.NullDecimal `json:"capacity" from:"capacity"`
|
Capacity decimal.NullDecimal `json:"capacity" from:"capacity"`
|
||||||
Tenement decimal.NullDecimal `json:"tenement" from:"tenement"`
|
TenementQuantity decimal.NullDecimal `json:"tenement" from:"tenement"`
|
||||||
Category int `json:"category" form:"category"`
|
Category int `json:"category" form:"category"`
|
||||||
Submeter int `json:"submeter" form:"submeter"`
|
Submeter int `json:"submeter" form:"submeter"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func createNewPark(c *gin.Context) {
|
func createNewPark(c *gin.Context) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user