我现在发现,请求时参数is_req_fa_info为0时,可以正常返回数据,如果参数is_req_fa_info为1要求返回人脸base64数据时,就不能返回数据,收到WebSocket的关闭消息,连接被中断; 1.参数is_req_fa_info为0,设备号3131501225,请求时间2021-03-17 19:11:41.113 请求:{"headers":{"req_id":"569641157965905922"},"cmd":"get_userinfo_by_ids","body":{"user_item":[{"user_type":0,"userid":"jzj"}],"is_req_fp_info":0,"is_req_public_key":0,"is_req_fa_info":0}} 响应:{"headers":{"req_id":"569641157965905922"},"body":{"userinfo":[{"userid":"jzj","fp":[],"name":"姜志军3","fa_list":[],"user_type":0,"pass_rule_list":[],"fa_ver":1}]},"errcode":0,"errmsg":"ok"} 2.参数is_req_fa_info为1,设备号3131501225,请求时间2021-03-17 19:11:41.212 请求:{"headers":{"req_id":"569641158385336321"},"cmd":"get_userinfo_by_ids","body":{"user_item":[{"user_type":0,"userid":"jzj"}],"is_req_fp_info":0,"is_req_public_key":0,"is_req_fa_info":1}}
get_userinfo_by_ids接口请求后不能返回数据请求参数:{"headers":{"req_id":"568894771808960514"},"cmd":"get_userinfo_by_ids","body":{"user_item":[{"user_type":0,"userid":"jzj"}],"is_req_fp_info":1,"is_req_public_key":1,"is_req_fa_info":1}} 设备序列号:3131501225 请求时间:2021-03-15 17:45:48 接口请求后不能返回数据,websocket连接被中断,麻烦查一下原因。 经数据比对,当查询的人员数据中有人脸数据时,会出现上述现象。
2021-03-17