新增接口
This commit is contained in:
@@ -334,3 +334,13 @@ type PayOrder struct {
|
||||
UpdateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP" json:"-"` //更新时间
|
||||
Status int `gorm:"default:1" json:"-"` //状态
|
||||
}
|
||||
|
||||
// ServiceCarLocation 服务车辆定位
|
||||
type ServiceCarLocation struct {
|
||||
Id int `gorm:"primaryKey;autoIncrement"` //id
|
||||
Uid int64 `gorm:"not null" json:"uid"` //用户ID
|
||||
Longitude string `json:"longitude"` //经度
|
||||
Latitude string `json:"latitude"` //纬度
|
||||
CreateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP" json:"createTime"` //创建时间
|
||||
Status int `gorm:"default:1" json:"-"` //状态
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user