fix: 移除硬编码的开发环境域名

- 使用动态域名配置(从 request 或 config 读取)
- 添加 FEISHU_BASE_URL 环境变量支持
- 修复回调地址为当前站点域名

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-02-27 22:12:46 +08:00
parent 3b5107d4cd
commit 103da81a5c
4 changed files with 10 additions and 6 deletions
+3
View File
@@ -5,6 +5,9 @@
*/
return [
// 基础 URL(用于生成回调地址)
'base_url' => env('FEISHU_BASE_URL') ?? null,
// 卡片模板配置
'templates' => [
// 审批通知模板