From f165c5e705b0608eed6db92bcb0c94b0a972cc3a Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Tue, 21 Aug 2018 11:09:45 +0800 Subject: [PATCH] . --- ButcherTraceBack/Controllers/CodeViewController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ButcherTraceBack/Controllers/CodeViewController.cs b/ButcherTraceBack/Controllers/CodeViewController.cs index b5c3316..1145f88 100644 --- a/ButcherTraceBack/Controllers/CodeViewController.cs +++ b/ButcherTraceBack/Controllers/CodeViewController.cs @@ -11,7 +11,7 @@ namespace ButcherTraceBack.Controllers { public ActionResult Index(string code) { - if (code != null && code.Length == 22) + if (code != null && code.Length != 23) { return RedirectToAction("Index", "FreshView", new { code = code }); }