You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
574 B
Java
25 lines
574 B
Java
package com.rehome.zhdcoa;
|
|
|
|
import com.hjq.http.config.IRequestApi;
|
|
|
|
/**
|
|
* author : Android 轮子哥
|
|
* github : https://github.com/getActivity/EasyHttp
|
|
* time : 2019/11/18
|
|
* desc : 按照作者昵称搜索文章
|
|
*/
|
|
public final class SearchAuthorApi implements IRequestApi {
|
|
|
|
@Override
|
|
public String getApi() {
|
|
return "article/list/0/json";
|
|
}
|
|
|
|
/** 作者昵称,不支持模糊匹配 */
|
|
private String author;
|
|
|
|
public SearchAuthorApi setAuthor(String author) {
|
|
this.author = author;
|
|
return this;
|
|
}
|
|
} |