Change-Id: Ib25e9e5304701b6ab08d3b8a8047dadc287c952f
This commit is contained in:
rui.zhang 2018-12-21 16:34:15 +08:00
parent ac586bc88d
commit 6a50f0941c

View File

@ -94,7 +94,7 @@ getAuthors()方法返回的是用户相关的信息:
新增文章可以使用newPost()方法,示例代码如下: 新增文章可以使用newPost()方法,示例代码如下:
```java ```java
PostRequest post = new PostRequest(); PostRequest post = new PostRequest();
post.setPostTitle("测试PostName"); post.setPostTitle("测试Title");
post.setPostContent("这是一段测试文章内容"); post.setPostContent("这是一段测试文章内容");
post.setCategories("测试"); post.setCategories("测试");
post.setTags("a", "b", "c"); post.setTags("a", "b", "c");