1
0
mirror of synced 2026-05-22 21:53:18 +00:00

支持抖音和领英,其他更新内容参考update.md

This commit is contained in:
yadong.zhang
2019-05-27 11:43:56 +08:00
parent c951ffad59
commit 3f67757a3a
14 changed files with 542 additions and 33 deletions
@@ -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();
}
}