Skip to content
On this page

企业互联

获取应用共享信息

$agentId = 100001;

$app->corp_group->getAppShareInfo(int $agentId);

获取下级企业的access_token

$corpId = 'wwd216fa8c4c5c0e7x';
$agentId = 100001;

$app->corp_group->getToken(string $corpId, int $agentId)

获取下级企业的小程序session

$userId = 'wmAoNVCwAAUrSqEqz7oQpEIEMVWDrPeg';
$sessionKey = 'n8cnNEoyW1pxSRz6/Lwjwg==';

$app->corp_group->getMiniProgramTransferSession(string $userId, string $sessionKey);

Released under the MIT License.