fix: 订单创建不再写入 search_text
This commit is contained in:
@@ -92,7 +92,6 @@ func (l *CreateOrderLogic) CreateOrder(req *types.CreateOrderReq) (resp *types.C
|
||||
}
|
||||
now := time.Now().Unix()
|
||||
status := "pending_payment"
|
||||
searchText := consumerName + " " + playerName + " " + shopName + " " + req.Note
|
||||
|
||||
addReq := &orderservice.AddOrdersReq{
|
||||
Id: orderID,
|
||||
@@ -103,7 +102,6 @@ func (l *CreateOrderLogic) CreateOrder(req *types.CreateOrderReq) (resp *types.C
|
||||
ServiceSnapshot: string(snapshotBytes),
|
||||
Status: &status,
|
||||
TotalPrice: totalPriceStr,
|
||||
SearchText: &searchText,
|
||||
CreatedAt: &now,
|
||||
UpdatedAt: &now,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user