update
This commit is contained in:
@@ -122,7 +122,7 @@ type OrderMain struct {
|
||||
Id int64 `gorm:"primaryKey;autoIncrement" json:"id"` //id
|
||||
OrderId string `gorm:"index;unique;not null" json:"orderId"` //主订单号
|
||||
Uid int64 `gorm:"index;not null" json:"uid"` //用户id
|
||||
OrderStatus int `json:"status"` //主订单状态 1待服务 2服务中 3已完成 4已派单 5已取消
|
||||
OrderStatus int `json:"status"` //主订单状态 1待服务 2服务中 3已完成 4已取消
|
||||
ServiceTime string `json:"serviceTime"` //服务时间
|
||||
ProjectionServiceTime int `json:"projectionServiceTime"` //服务预估时长
|
||||
ServiceAddrId int64 `json:"serviceAddrId"` //服务地址信息
|
||||
@@ -141,7 +141,7 @@ type OrderSub struct {
|
||||
MainOrderId string `gorm:"index" json:"mainOrderId"` //主订单ID
|
||||
OrderStatus int `gorm:"not null" json:"status"` //子订单状态 1待服务 2服务中 3已完成 4已取消
|
||||
PetId int64 `gorm:"index" json:"petId"` //宠物ID
|
||||
PayType int `gorm:"not null" json:"payType"` //支付方式 1线下 2线上
|
||||
PayType int `gorm:"not null" json:"payType"` //支付方式 1线下 2线上 3会员余额
|
||||
Discount int `json:"discount"` //折扣
|
||||
TotalAmount int32 `gorm:"not null" json:"totalAmount"` //总金额
|
||||
ProjectionServiceTime int `json:"projectionServiceTime"` //服务预估时长
|
||||
|
||||
Reference in New Issue
Block a user