File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,3 +36,7 @@ Date: 2024-03-12
36361.0.12:
3737Date: 2024-06-18
3838更新: 增加失联地址识别接口
39+
40+ 1.0.13:
41+ Date: 2024-07-16
42+ 更新: 新版活体检测
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ type GetAliveResultResponse struct {
100100type GetAliveResultResult struct {
101101 FaceImage string `json:"faceImage"`
102102 SceneImage string `json:"sceneImage"`
103+ Video string `json:"video"`
103104 H5Result string `json:"h5Result"`
104105 SmResult string `json:"smResult"`
105106 RxResult string `json:"rxResult"`
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ type GetAliveResultNewResponse struct {
100100type GetAliveResultNewResult struct {
101101 FaceImage string `json:"faceImage"`
102102 SceneImage string `json:"sceneImage"`
103+ Video string `json:"video"`
103104 H5Result string `json:"h5Result"`
104105 SmResult string `json:"smResult"`
105106 RxResult string `json:"rxResult"`
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ type GetAliveUrlNewRequest struct {
3232
3333 /* 采集结束后自动跳转的目标地址(须以http或https开头,长度不超过128字符) */
3434 ReturnUrl string `json:"returnUrl"`
35+
36+ /* 指定动作,逗号隔开。(LookLeft 向左,LookRight 向右,OpenMouth 张嘴,BlinkEye 眨眼,ShakeHead 摇头,NodHead 点头) (Optional) */
37+ Actions * string `json:"actions"`
3538}
3639
3740/*
@@ -58,11 +61,13 @@ func NewGetAliveUrlNewRequest(
5861 * param name: 姓名(需要进行身份核验时传递此参数) (Optional)
5962 * param idcard: 身份证号(需要进行身份核验时传递此参数) (Optional)
6063 * param returnUrl: 采集结束后自动跳转的目标地址(须以http或https开头,长度不超过128字符) (Required)
64+ * param actions: 指定动作,逗号隔开。(LookLeft 向左,LookRight 向右,OpenMouth 张嘴,BlinkEye 眨眼,ShakeHead 摇头,NodHead 点头) (Optional)
6165 */
6266func NewGetAliveUrlNewRequestWithAllParams (
6367 name * string ,
6468 idcard * string ,
6569 returnUrl string ,
70+ actions * string ,
6671) * GetAliveUrlNewRequest {
6772
6873 return & GetAliveUrlNewRequest {
@@ -75,6 +80,7 @@ func NewGetAliveUrlNewRequestWithAllParams(
7580 Name : name ,
7681 Idcard : idcard ,
7782 ReturnUrl : returnUrl ,
83+ Actions : actions ,
7884 }
7985}
8086
@@ -103,6 +109,10 @@ func (r *GetAliveUrlNewRequest) SetIdcard(idcard string) {
103109func (r * GetAliveUrlNewRequest ) SetReturnUrl (returnUrl string ) {
104110 r .ReturnUrl = returnUrl
105111}
112+ /* param actions: 指定动作,逗号隔开。(LookLeft 向左,LookRight 向右,OpenMouth 张嘴,BlinkEye 眨眼,ShakeHead 摇头,NodHead 点头)(Optional) */
113+ func (r * GetAliveUrlNewRequest ) SetActions (actions string ) {
114+ r .Actions = & actions
115+ }
106116
107117
108118// GetRegionId returns path parameter 'regionId' if exist,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ func NewCloudauthClient(credential *core.Credential) *CloudauthClient {
4040 Credential : * credential ,
4141 Config : * config ,
4242 ServiceName : "cloudauth" ,
43- Revision : "1.0.12 " ,
43+ Revision : "1.0.13 " ,
4444 Logger : core .NewDefaultLogger (core .LogInfo ),
4545 }}
4646}
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ type AliveResultInfo struct {
2525 /* 场景照片base64 (Optional) */
2626 SceneImage string `json:"sceneImage"`
2727
28+ /* 现场视频base64 (Optional) */
29+ Video string `json:"video"`
30+
2831 /* H5活体检测结果 (Optional) */
2932 H5Result string `json:"h5Result"`
3033
You can’t perform that action at this time.
0 commit comments