pc端回调

This commit is contained in:
2026-01-13 17:24:14 +08:00
parent 006e6bfcc1
commit a8b2c11808
4 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -13,12 +13,12 @@ class AuthService
/**
* 飞书授权
*/
public function feishuAuthorize(string $app_id, string $systemCcode, $mobile)
public function feishuAuthorize(string $app_id, string $systemCcode, $is_pc)
{
$logic = new AuthLogic();
$certificate = $logic->feishuAppInfo($app_id, $systemCcode);
$feishu = new Feishu($certificate['app_id'], $certificate['app_secret'], 'xinyouhe');
return ['auth_url' => $feishu->authorize($certificate, $mobile)];
return ['auth_url' => $feishu->authorize($certificate, $is_pc)];
}
/**