/// <summary>
 /// 答题结果
 /// </summary>
 /// <param name="token">Hash 客户端信息</param>
 /// <param name="dinosaurId">int 题目编号</param>
 /// <param name="result">int 答题结果</param>
 /// <returns>Hash 结果信息</returns>
 public static Hash Answer(Hash token, int dinosaurId, int result)
 {
     if (ClientDinosaurData.Answer(token.ToInt("clientId"), dinosaurId, result) > 0)
     {
         ClientData.Answer(token.ToInt("clientId"), result);
         Hash data = ClientData.GetByClientId(token.ToInt("clientId"));
         Hash rank = ClientData.GetRank(data.ToInt("clientId"), data.ToInt("score"));
         data["position"] = rank.ToFloat("position");
         return(new Hash((int)CodeType.OK, "成功", data));
     }
     return(new Hash((int)CodeType.DataBaseUnknonw, "数据库操作失败"));
 }