We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
作为一个用户,我想新建博客,如果成功返回 id,如果失败返回对应错误信息
The text was updated successfully, but these errors were encountered:
用户故事:新建博客 作为一位博客作者 我想在InnoRev网站上新建博客 以便于我可以发布我的文章
AC 1: 新建博客成功 假设用户已经登录,并且填写了正确的博客信息 当用户点击“新建博客”按钮 于是系统创建一个新的博客,并返回博客的id
AC 2: 博客标题过长 假设用户已经登录,并且填写了超过50个字符的博客标题 当用户点击“新建博客”按钮 于是系统返回“博客标题过长”的错误信息
AC 3: 博客正文为空 假设用户已经登录,并且没有填写博客正文 当用户点击“新建博客”按钮 于是系统返回“博客正文不能为空”的错误信息
AC 4: 系统错误 假设系统发生错误 当用户点击“新建博客”按钮 于是系统返回“系统错误,请稍后再试”的错误信息
// {API Method} POST {API URI} /blogs // CreateBlogRequest: { "title": "My First Blog", "content": "Hello world!" } // CreateBlogResponse: { "id": 1, "title": "My First Blog", "content": "Hello world!" }
Sorry, something went wrong.
No branches or pull requests
作为一个用户,我想新建博客,如果成功返回 id,如果失败返回对应错误信息
The text was updated successfully, but these errors were encountered: