/// <summary>
        /// 修改游戏状态
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        //private string updateGameResult(HttpContext context)
        //{
        //    Json jsonResult = new Json();
        //    string juid = context.Request["juid"];
        //    string state = context.Request["state"];
        //    int result = ms.updateGameState(juid, state);
        //    if (result > 0)
        //    {
        //        jsonResult.Success = true;
        //        jsonResult.Msg = "修改成功";
        //    }
        //    else
        //    {
        //        jsonResult.Success = false;
        //        jsonResult.Msg = "修改失败";
        //    }
        //    string strJson = JsonConvert.SerializeObject(jsonResult);
        //    return strJson;
        //}

        private string updateGameState(HttpContext context)
        {
            Json   jsonResult = new Json();
            string winid      = context.Request["winid"];
            string ortherid   = context.Request["ortherid"];
            int    result     = ms.updateGameState(winid, ortherid);

            if (result > 0)
            {
                jsonResult.Success = true;
                jsonResult.Msg     = "修改成功";
            }
            else
            {
                jsonResult.Success = false;
                jsonResult.Msg     = "修改失败";
            }
            string strJson = JsonConvert.SerializeObject(jsonResult);

            return(strJson);
        }