public JsonResult SimulationLogin(string EmpNo) { if (_emp.RoleCode == "F" || _emp.IsSimulation == true) { //Clog.Writer.Info("SimulationLogin:"******"員編不存在!" })); } else { _emp.SetUserSession(EmpNo); return(Json("OK")); } } else { return(Json(new { ERROR = "非法操作" })); } }