浏览代码

added pkguid error public message

tags/v0.1.0
Robin Thoni 8 年前
父节点
当前提交
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
         }

正在加载...
取消
保存