Commit b1094d43 authored by Maodashu's avatar Maodashu

修复websocket消息orderId解析bug

parent 272fe64d
......@@ -134,7 +134,10 @@ namespace OTWebSocket.API.Services
{
try
{
string orderId = orderJson["client_oid"].ToString().Split("-").Last();
string orderId = orderJson["client_oid"].ToString();
orderId = orderId[(orderId.IndexOf('-') + 1)..];
OTOrderInfo liveOrder = _redisService.LockGetOrder(orderId).Result;
if (liveOrder == null)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment