diff options
author | 杨宇千 <crupest@outlook.com> | 2019-11-13 22:55:31 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-11-13 22:55:31 +0800 |
commit | 16b4720938ca42b777a10ba67d400531dcc1db35 (patch) | |
tree | 3513c60842b2b6330c51a05cce37182ed6aa34c0 /Timeline/Controllers | |
parent | 299481eecc8c1b7bc40770d58c85ff1fddeddb96 (diff) | |
download | timeline-16b4720938ca42b777a10ba67d400531dcc1db35.tar.gz timeline-16b4720938ca42b777a10ba67d400531dcc1db35.tar.bz2 timeline-16b4720938ca42b777a10ba67d400531dcc1db35.zip |
WIP : Write timeline service.
Diffstat (limited to 'Timeline/Controllers')
-rw-r--r-- | Timeline/Controllers/PersonalTimelineController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Controllers/PersonalTimelineController.cs b/Timeline/Controllers/PersonalTimelineController.cs index f0f4e4c2..af6a70f8 100644 --- a/Timeline/Controllers/PersonalTimelineController.cs +++ b/Timeline/Controllers/PersonalTimelineController.cs @@ -25,7 +25,7 @@ namespace Timeline public const int PostOperationCreateForbid = 10040102;
public const int PostOperationDeleteForbid = 10040103;
public const int PostOperationDeleteNotExist = 10040201;
- public const int MemberAddNotExist = 10040301;
+ public const int ChangeMemberUserNotExist = 10040301;
}
}
}
@@ -156,7 +156,7 @@ namespace Timeline.Controllers }
else if (e.InnerException is UserNotExistException)
{
- return BadRequest(new CommonResponse(ErrorCodes.Http.Timeline.MemberAddNotExist,
+ return BadRequest(new CommonResponse(ErrorCodes.Http.Timeline.ChangeMemberUserNotExist,
string.Format(CultureInfo.CurrentCulture, MessageMemberUserNotExist, e.Index, e.Operation)));
}
|