public ResponseViewModel <Order> OrderDetail([FromBody] RequestViewModel obj) { Order result = new Order(); ResponseViewModel <Order> response = null; obj = JsonHelper.DeserializeJsonToObject <RequestViewModel>(Content(User.Identity.Name).Content); bool isLog = _token.VerifyToken(obj.HendInfo.UserOpenId, obj.HendInfo.SessionToken); var code = SysCode.Ok; if (isLog) { string strJson = RedisHelper.StringGet($"{CacheKey.Token}{obj.HendInfo.UserOpenId}", RedisFolderEnum.token, RedisEnum.Three); UserLoginDto UserLog = JsonHelper.DeserializeJsonToObject <UserLoginDto>(strJson); long lUserId = JsonHelper.DeserializeJsonToObject <UserLoginDto>(strJson).Userid; result = _biz.AcquireOrderDetail((string)obj.Data.forderId); } else { /*短令牌失效*/ code = SysCode.SessionTokenLose; } response = new ResponseViewModel <Order>(code, result, obj.Encrypt, _sys, obj.Secret); return(response); }