瀏覽代碼

added pkguid error public message

tags/v0.1.0
Robin Thoni 7 年之前
父節點
當前提交
51a521ea86
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      WebTest/Business/PkGuidBusiness.cs

+ 2
- 2
WebTest/Business/PkGuidBusiness.cs 查看文件

@@ -16,7 +16,7 @@ namespace WebTest.Business
16 16
         {
17 17
             if (obj.SomeText.EndsWith("_edited"))
18 18
             {
19
-                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText can not end with '_edited'");
19
+                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText can not end with '_edited'", "");
20 20
             }
21 21
             return LuResult<PkGuidAddDbo>.Ok(obj);
22 22
         }
@@ -25,7 +25,7 @@ namespace WebTest.Business
25 25
         {
26 26
             if (!update.SomeText.EndsWith("_edited"))
27 27
             {
28
-                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText must end with '_edited'");
28
+                return LuResult<PkGuidAddDbo>.Error(LuStatus.InputError, "someText must end with '_edited'", "");
29 29
             }
30 30
             return LuResult<PkGuidAddDbo>.Ok(update);
31 31
         }

Loading…
取消
儲存