|
@@ -32,7 +32,7 @@ public class AuthServiceImpl implements AuthorizationService<AccessInfo> {
|
|
|
if (secret == null) {
|
|
|
AkInfo ak = getAk(identity);
|
|
|
if (ak == null) {
|
|
|
- throw new StatusException("未找到学校信息,code 错误");
|
|
|
+ throw new StatusException("未找到学校信息,code错误");
|
|
|
}
|
|
|
secret = AuthorizationCreateUtil.buildApiSecret(ak.getAccessKey(), ak.getAccessSecret());
|
|
|
caffeineCacheService.set(identity, secret, 5, TimeUnit.MINUTES);
|