UserDeliveryAddress添加DetailAddress
This commit is contained in:
@@ -116,9 +116,10 @@ type UserDeliveryAddress struct {
|
||||
Tag string `orm:"size(32)" json:"tag"`
|
||||
ConsigneeName string `orm:"size(32)" json:"consigneeName"`
|
||||
ConsigneeMobile string `orm:"size(32)" json:"consigneeMobile"`
|
||||
Address string `orm:"size(255)" json:"address"` // 这个是用户手输入的详细地址
|
||||
Lng float64 `orm:"digits(10);decimals(6)" json:"lng"` // 乘了10的6次方
|
||||
Lat float64 `orm:"digits(10);decimals(6)" json:"lat"` // 乘了10的6次方
|
||||
Address string `orm:"size(255)" json:"address"` // 地址(区县以下,门牌号以上的地址信息)
|
||||
DetailAddress string `orm:"size(255)" json:"detailAddress"` // 门牌号
|
||||
Lng float64 `orm:"digits(10);decimals(6)" json:"lng"`
|
||||
Lat float64 `orm:"digits(10);decimals(6)" json:"lat"`
|
||||
|
||||
AutoAddress string `orm:"size(255)" json:"autoAddress"` // 这个是通过坐标自动获取的结构化的地址
|
||||
CityCode int `orm:"default(0);null" json:"cityCode"` // 根据坐标获得
|
||||
|
||||
Reference in New Issue
Block a user