飞书推送

This commit is contained in:
2025-03-22 10:26:52 +08:00
parent 34cc7a1c8e
commit 204ec57671
8 changed files with 231 additions and 33 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ return [
'xinyouhe' => [
'appId' => "cli_a73e1e6406fa501c",
'appSecret' => "9cMfxujjGG9JPmNfNcOwUdCoIXqaM1wY",
'rUrl' => "http://219.157.255.213:25321/feishu/auth",
'rUrl' => "http://219.157.255.213:9007/feishu/auth",
'scope' => "contact:user.base:readonly contact:contact.base:readonly contact:user.employee_id:readonly im:message:send_as_bot",
'state' => "xinyouhe",
'baseUri' => "https://open.feishu.cn/open-apis/"
@@ -12,7 +12,7 @@ return [
'mbaf' => [
'appId' => "cli_a75839fb4ff85028",
'appSecret' => "VsqLvwsRzpmisBVbrTIuKdNCvRCO447d",
'rUrl' => "http://219.157.255.213:25321/feishu/auth",
'rUrl' => "http://219.157.255.213:9007/feishu/auth",
'scope' => "contact:user.base:readonly contact:contact.base:readonly contact:user.employee_id:readonly im:message:send_as_bot",
'state' => "mbaf",
'baseUri' => "https://open.larksuite.com/open-apis/"
+4 -1
View File
@@ -58,5 +58,8 @@ return [
'enable_memory_monitor' => DIRECTORY_SEPARATOR === '/',
]
]
]
],
'task' => [
'handler' => process\Task::class
],
];
+1
View File
@@ -29,5 +29,6 @@ Route::any('/upload', [app\controller\UploadController::class, 'uploadImage'])->
// 飞书
Route::post('/feishu/auth', [app\controller\FeishuController::class, 'auth']);
Route::post('/feishu/getAuth', [app\controller\FeishuController::class, 'getAuth']);
Route::post('/feishu/show', [app\controller\FeishuController::class, 'show']);
Route::post('/feishu/send', [app\controller\FeishuController::class, 'send']);