7.13 人脸识别打开并增加控制接口 修改上传人脸照片提示文字
This commit is contained in:
@ -17,11 +17,19 @@ export async function changePass(params: any) {
|
||||
*/
|
||||
export async function rgbToBase64(params: any) {
|
||||
const _body = JSON.stringify({//post请求参数
|
||||
type: 'pixel',
|
||||
type: 'pixel',
|
||||
rgb: params.image
|
||||
});
|
||||
return request('/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/rgbArray2Base64', {
|
||||
method: 'post',
|
||||
body:_body,
|
||||
body: _body,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否显示人脸识别tab
|
||||
* @param params
|
||||
*/
|
||||
export async function showFaceTab() {
|
||||
return request('/api/biz-service-ebtp-extend//v1/BizFuncSwitchConfig/bizfuncswitchconfig/getFaceRecognitionFlag');
|
||||
}
|
Reference in New Issue
Block a user