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 | a1e6182c205f726b33c47438a8334449ca92d411 (patch) | |
tree | 3513c60842b2b6330c51a05cce37182ed6aa34c0 /Timeline/Controllers/PersonalTimelineController.cs | |
parent | c348cd3972aa30eb3f09ae61ba99374527a01af8 (diff) | |
download | timeline-a1e6182c205f726b33c47438a8334449ca92d411.tar.gz timeline-a1e6182c205f726b33c47438a8334449ca92d411.tar.bz2 timeline-a1e6182c205f726b33c47438a8334449ca92d411.zip |
WIP : Write timeline service.
Diffstat (limited to 'Timeline/Controllers/PersonalTimelineController.cs')
-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)));
}
|