fix(feishu): 修正获取飞书应用访问令牌方式和更新开发环境密钥
- 修正了获取应用访问令牌时解析 JSON 的字段路径 - 将 app_access_token 从嵌套 JSON 直接改为顶层字段获取 - 更新了开发环境配置中的飞书应用密钥(app-secret)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user