alter
Change-Id: Ib25e9e5304701b6ab08d3b8a8047dadc287c952f
This commit is contained in:
parent
ac586bc88d
commit
6a50f0941c
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user