✨ 支持抖音和领英,其他更新内容参考update.md
This commit is contained in:
@@ -28,4 +28,13 @@ public class AuthResponse<T> {
|
||||
* 授权响应数据,当且仅当 code = 2000 时返回
|
||||
*/
|
||||
private T data;
|
||||
|
||||
/**
|
||||
* 是否请求成功
|
||||
*
|
||||
* @return true or false
|
||||
*/
|
||||
public boolean ok() {
|
||||
return this.code == ResponseStatus.SUCCESS.getCode();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user