移动端回调

This commit is contained in:
2026-01-04 16:27:20 +08:00
parent 725710abcb
commit ca757e67dd
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -13,12 +13,12 @@ class AuthService
/**
* 飞书授权
*/
public function feishuAuthorize(string $corpAbbr, string $systemCcode)
public function feishuAuthorize(string $corpAbbr, string $systemCcode, $mobile)
{
$logic = new AuthLogic();
$certificate = $logic->feishuAppInfo($corpAbbr, $systemCcode);
$feishu = new Feishu($certificate['app_id'], $certificate['app_secret'], $certificate['abbr']);
return ['auth_url' => $feishu->authorize($certificate)];
return ['auth_url' => $feishu->authorize($certificate, $mobile)];
}
/**