|
@@ -60,6 +60,9 @@ public class CallbackController {
|
|
}
|
|
}
|
|
if (StringUtils.isNotBlank(authCode)) {
|
|
if (StringUtils.isNotBlank(authCode)) {
|
|
KuaishouResultToken accessToken = kuaishouInterfaceService.getAccessToken(authCode);
|
|
KuaishouResultToken accessToken = kuaishouInterfaceService.getAccessToken(authCode);
|
|
|
|
+ if (accessToken.getCode() != 0) {
|
|
|
|
+ throw new Exception("快手回调token返回错误");
|
|
|
|
+ }
|
|
KuaishouAccessToken token = accessToken.getData();
|
|
KuaishouAccessToken token = accessToken.getData();
|
|
if (token != null) {
|
|
if (token != null) {
|
|
Long accountId = token.getAccountId();
|
|
Long accountId = token.getAccountId();
|