diff --git a/src/Identity/Identity.php b/src/Identity/Identity.php index 82b6c5a..60b3350 100644 --- a/src/Identity/Identity.php +++ b/src/Identity/Identity.php @@ -19,9 +19,9 @@ class Identity extends AbstractAPI /** * @param string $orgId 机构 id * @param string $agentAccountId 办理人账号Id - * @param string $contextId 发起方业务上下文标识 * @param string $notifyUrl 发起方接收实名认证状态变更通知的地址 * @param string $redirectUrl 实名结束后页面跳转地址 + * @param string $contextId 发起方业务上下文标识 * @param string $authType 指定默认认证类型 * @param bool $repeatIdentity 是否允许重复实名,默认允许 * @param bool $showResultPage 实名完成是否显示结果页,默认显示 @@ -30,7 +30,7 @@ class Identity extends AbstractAPI * * @throws HttpException */ - public function getOrgIdentityUrl($orgId, $agentAccountId, $contextId = '', $notifyUrl = '', $redirectUrl = '', $authType = '', $repeatIdentity = true, $showResultPage = true) + public function getOrgIdentityUrl($orgId, $agentAccountId, $notifyUrl = '', $redirectUrl = '', $contextId = '', $authType = '', $repeatIdentity = true, $showResultPage = true) { $url = sprintf('/v2/identity/auth/web/%s/orgIdentityUrl', $orgId); $params = [ @@ -43,7 +43,6 @@ public function getOrgIdentityUrl($orgId, $agentAccountId, $contextId = '', $not 'redirectUrl' => $redirectUrl, 'showResultPage' => $showResultPage, ], - 'orgEntity' => [], ]; return $this->parseJSON('json', [$url, $params]);