获取飞书配置
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ return [
|
||||
'xinyouhe' => [
|
||||
'appId' => "cli_a73e1e6406fa501c",
|
||||
'appSecret' => "9cMfxujjGG9JPmNfNcOwUdCoIXqaM1wY",
|
||||
'rUrl' => "http://219.157.255.213:9007/feishu/auth",
|
||||
'rUrl' => "http://219.157.255.213:25321/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:9007/feishu/auth",
|
||||
'rUrl' => "http://219.157.255.213:25321/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/"
|
||||
|
||||
@@ -28,6 +28,7 @@ Route::any('/upload', [app\controller\UploadController::class, 'uploadImage'])->
|
||||
|
||||
|
||||
// 飞书
|
||||
Route::post('/feishu/getinfo', [app\controller\FeishuController::class, 'getinfo']);
|
||||
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']);
|
||||
|
||||
Reference in New Issue
Block a user