public JsonResult Login(string userName, string pwd)
        {
            IDictionary <string, string> rsdic = _service.indexMain(userName, pwd);
            JsonResult json = new JsonResult();

            json.Data = new
            {
                flag     = rsdic["flag"],
                userName = rsdic["userName"],
                pwd      = rsdic["pwd"]
            };
            return(Json(json, JsonRequestBehavior.AllowGet));
        }