fix(feishu): 修正获取飞书应用访问令牌方式和更新开发环境密钥

- 修正了获取应用访问令牌时解析 JSON 的字段路径
- 将 app_access_token 从嵌套 JSON 直接改为顶层字段获取
- 更新了开发环境配置中的飞书应用密钥(app-secret)
This commit is contained in:
2026-03-27 17:49:16 +08:00
parent 111f794448
commit e171e35cd6
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ public class FeishuAuthServiceImpl implements FeishuAuthService {
throw new RuntimeException("获取应用访问令牌失败: " + jsonObject.getStr("msg"));
}
return jsonObject.getJSONObject("app_access_token").getStr("app_access_token");
return jsonObject.getStr("app_access_token");
}
}