|
@@ -101,12 +101,12 @@ namespace Central.Control.WebApi.Service
|
|
|
YW_Order order = new YW_Order()
|
|
|
{
|
|
|
Id = orderId,
|
|
|
- DeviceId = _userService.GetLoginSession().Id,
|
|
|
+ DeviceId = session.UserId,
|
|
|
Price = orderDetailAdds.Sum(p => p.Price * p.Count),
|
|
|
PayStatus = PayStatusEnum.UnPay,
|
|
|
OrderStatus = OrderStatusEnum.UnPay,
|
|
|
PaySerialId = Snowflake.Instance().GetId().ToString(),
|
|
|
- CreateBY = session.Id
|
|
|
+ CreateBY = session.UserId
|
|
|
};
|
|
|
YW_OrderProcess orderProcess = new YW_OrderProcess()
|
|
|
{
|