新增接口

This commit is contained in:
yan.y
2024-11-18 15:17:25 +08:00
parent bfcee075b6
commit 101e819b66
5 changed files with 69 additions and 27 deletions
+1
View File
@@ -339,6 +339,7 @@ type PayOrder struct {
type ServiceCarLocation struct {
Id int `gorm:"primaryKey;autoIncrement"` //id
Uid int64 `gorm:"not null" json:"uid"` //用户ID
CarId int `gorm:"not null" json:"carId"` //车辆ID
Longitude string `json:"longitude"` //经度
Latitude string `json:"latitude"` //纬度
CreateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP" json:"createTime"` //创建时间