@@ -19,9 +19,9 @@ class Identity extends AbstractAPI
19
19
/**
20
20
* @param string $orgId 机构 id
21
21
* @param string $agentAccountId 办理人账号Id
22
- * @param string $contextId 发起方业务上下文标识
23
22
* @param string $notifyUrl 发起方接收实名认证状态变更通知的地址
24
23
* @param string $redirectUrl 实名结束后页面跳转地址
24
+ * @param string $contextId 发起方业务上下文标识
25
25
* @param string $authType 指定默认认证类型
26
26
* @param bool $repeatIdentity 是否允许重复实名,默认允许
27
27
* @param bool $showResultPage 实名完成是否显示结果页,默认显示
@@ -30,7 +30,7 @@ class Identity extends AbstractAPI
30
30
*
31
31
* @throws HttpException
32
32
*/
33
- public function getOrgIdentityUrl ($ orgId , $ agentAccountId , $ contextId = '' , $ notifyUrl = '' , $ redirectUrl = '' , $ authType = '' , $ repeatIdentity = true , $ showResultPage = true )
33
+ public function getOrgIdentityUrl ($ orgId , $ agentAccountId , $ notifyUrl = '' , $ redirectUrl = '' , $ contextId = '' , $ authType = '' , $ repeatIdentity = true , $ showResultPage = true )
34
34
{
35
35
$ url = sprintf ('/v2/identity/auth/web/%s/orgIdentityUrl ' , $ orgId );
36
36
$ params = [
@@ -43,7 +43,6 @@ public function getOrgIdentityUrl($orgId, $agentAccountId, $contextId = '', $not
43
43
'redirectUrl ' => $ redirectUrl ,
44
44
'showResultPage ' => $ showResultPage ,
45
45
],
46
- 'orgEntity ' => [],
47
46
];
48
47
49
48
return $ this ->parseJSON ('json ' , [$ url , $ params ]);
0 commit comments